Lines Matching refs:mapping
119 u8 mapping; member
344 int mapping; /* map d-pad to buttons or to axes */ member
363 if (!(xpad->mapping & MAP_STICKS_TO_NULL)) { in xpad_process_packet()
378 if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) { in xpad_process_packet()
387 if (xpad->mapping & MAP_DPAD_TO_BUTTONS) { in xpad_process_packet()
435 if (xpad->mapping & MAP_DPAD_TO_BUTTONS) { in xpad360_process_packet()
449 if (!(xpad->mapping & MAP_DPAD_TO_BUTTONS) || in xpad360_process_packet()
474 if (!(xpad->mapping & MAP_STICKS_TO_NULL)) { in xpad360_process_packet()
489 if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) { in xpad360_process_packet()
558 if (xpad->mapping & MAP_DPAD_TO_BUTTONS) { in xpadone_process_buttons()
579 if (!(xpad->mapping & MAP_STICKS_TO_NULL)) { in xpadone_process_buttons()
594 if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) { in xpadone_process_buttons()
1128 if (!(xpad->mapping & MAP_STICKS_TO_NULL)) { in xpad_init_input()
1149 if (xpad->mapping & MAP_DPAD_TO_BUTTONS) { in xpad_init_input()
1160 if (!(xpad->mapping & MAP_DPAD_TO_BUTTONS) || in xpad_init_input()
1166 if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) { in xpad_init_input()
1236 xpad->mapping = xpad_device[i].mapping; in xpad_probe()
1253 xpad->mapping |= MAP_DPAD_TO_BUTTONS; in xpad_probe()
1255 xpad->mapping |= MAP_TRIGGERS_TO_BUTTONS; in xpad_probe()
1257 xpad->mapping |= MAP_STICKS_TO_NULL; in xpad_probe()