Home
last modified time | relevance | path

Searched refs:BTN_MISC (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/input/
Djoydev.c50 __u16 keymap[KEY_MAX - BTN_MISC + 1];
51 __u16 keypam[KEY_MAX - BTN_MISC + 1];
122 if (code < BTN_MISC || value == 2) in joydev_event()
125 event.number = joydev->keymap[code - BTN_MISC]; in joydev_event()
493 if (keypam[i] > KEY_MAX || keypam[i] < BTN_MISC) { in joydev_handle_JSIOCSBTNMAP()
502 joydev->keymap[joydev->keypam[i] - BTN_MISC] = i; in joydev_handle_JSIOCSBTNMAP()
954 for (i = BTN_JOYSTICK - BTN_MISC; i < KEY_MAX - BTN_MISC + 1; i++) in joydev_connect()
955 if (test_bit(i + BTN_MISC, dev->keybit)) { in joydev_connect()
957 joydev->keypam[joydev->nkey] = i + BTN_MISC; in joydev_connect()
961 for (i = 0; i < BTN_JOYSTICK - BTN_MISC; i++) in joydev_connect()
[all …]
/linux-6.1.9/include/uapi/linux/
Djoystick.h66 #define JSIOCSBTNMAP _IOW('j', 0x33, __u16[KEY_MAX - BTN_MISC + 1]) /* set button mapping */
67 #define JSIOCGBTNMAP _IOR('j', 0x34, __u16[KEY_MAX - BTN_MISC + 1]) /* get button mapping */
Dinput-event-codes.h343 #define BTN_MISC 0x100 macro
/linux-6.1.9/arch/arm/boot/dts/
Dimx28-eukrea-mbmx28lc.dtsi30 linux,code = <BTN_MISC>;
43 linux,code = <BTN_MISC>;
Dimx35-eukrea-mbimxsd35-baseboard.dts24 linux,code = <BTN_MISC>;
Dimx25-eukrea-mbimxsd25-baseboard.dts24 linux,code = <BTN_MISC>;
Dls1021a-moxa-uc-8410a.dts134 linux,code = <BTN_MISC>;
Dimx6ul-imx6ull-opos6uldev.dtsi27 linux,code = <BTN_MISC>;
Dimx6qdl-apf6dev.dtsi55 linux,code = <BTN_MISC>;
/linux-6.1.9/sound/usb/caiaq/
Dinput.c59 #define MASCHINE_BUTTON(X) ((X) + BTN_MISC)
117 #define KONTROLS4_BUTTON(X) ((X) + BTN_MISC)
679 cdev->keycode[i] = BTN_MISC + i; in snd_usb_caiaq_input_init()
/linux-6.1.9/include/dt-bindings/input/
Dlinux-event-codes.h343 #define BTN_MISC 0x100 macro
/linux-6.1.9/drivers/tty/vt/
Dkeyboard.c1427 if (keycode < BTN_MISC && printk_ratelimit()) in kbd_keycode()
1558 if (find_next_bit(dev->keybit, BTN_MISC, KEY_RESERVED) < in kbd_match()
1559 BTN_MISC) in kbd_match()
/linux-6.1.9/drivers/input/keyboard/
Dhil_kbd.c409 btntype = BTN_MISC; in hil_dev_pointer_setup()
/linux-6.1.9/drivers/hid/
Dhid-input.c751 default: code += BTN_MISC; in hidinput_configure_usage()
1022 case 0x036: map_key_clear(BTN_MISC); break; in hidinput_configure_usage()
1279 map_key(BTN_MISC); in hidinput_configure_usage()
Dhid-logitech-hidpp.c3333 input_report_key(hidpp->input, BTN_MISC + i, in hidpp10_extra_mouse_buttons_raw_event()