Support "guide2" in gamecontrollerdb for OSD button chords. Support the +/- analog axis notation for mapping analog to digital buttons (#692)
Co-authored-by: Zakk <zakk@rsdio.com>
This commit is contained in:
@@ -2294,6 +2294,8 @@ static void input_cb(struct input_event *ev, struct input_absinfo *absinfo, int
|
||||
memcpy(input[dev].mmap, def_mmap, sizeof(def_mmap));
|
||||
//input[dev].has_mmap++;
|
||||
}
|
||||
} else {
|
||||
gcdb_show_string_for_ctrl_map(input[sub_dev].bustype, input[sub_dev].vid, input[sub_dev].pid, input[sub_dev].version, pool[sub_dev].fd, input[sub_dev].name, input[dev].mmap);
|
||||
}
|
||||
if (!input[dev].mmap[SYS_BTN_OSD_KTGL + 2]) input[dev].mmap[SYS_BTN_OSD_KTGL + 2] = input[dev].mmap[SYS_BTN_OSD_KTGL + 1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user