Lines Matching refs:code
636 int32_t code; member
707 #define PS4DS_MAP_BTN(number, code) \ argument
708 { HIDMAP_KEY(HUP_BUTTON, number, code) }
709 #define PS4DS_MAP_ABS(usage, code) \ argument
710 { HIDMAP_ABS(HUP_GENERIC_DESKTOP, HUG_##usage, code) }
711 #define PS4DS_MAP_FLT(usage, code) \ argument
712 { HIDMAP_ABS(HUP_GENERIC_DESKTOP, HUG_##usage, code), .flat = 15 }
713 #define PS4DS_MAP_VSW(usage, code) \ argument
714 { HIDMAP_SW(HUP_MICROSOFT, usage, code) }
813 sc->calib_data[i].code, in ps4dsacc_data_cb()
825 evdev_push_abs(evdev, calib->code, in ps4dsacc_data_cb()
1222 sc->calib_data[0].code = ABS_RX; in ps4dsacc_attach()
1232 sc->calib_data[1].code = ABS_RY; in ps4dsacc_attach()
1242 sc->calib_data[2].code = ABS_RZ; in ps4dsacc_attach()
1257 sc->calib_data[3].code = ABS_X; in ps4dsacc_attach()
1266 sc->calib_data[4].code = ABS_Y; in ps4dsacc_attach()
1275 sc->calib_data[5].code = ABS_Z; in ps4dsacc_attach()