/linux/drivers/input/mouse/ |
H A D | vsxxxaa.c | 111 static void vsxxxaa_drop_bytes(struct vsxxxaa *mouse, int num) in vsxxxaa_drop_bytes() argument 113 if (num >= mouse->count) { in vsxxxaa_drop_bytes() 114 mouse->count = 0; in vsxxxaa_drop_bytes() 116 memmove(mouse->buf, mouse->buf + num, BUFLEN - num); in vsxxxaa_drop_bytes() 117 mouse->count -= num; in vsxxxaa_drop_bytes() 121 static void vsxxxaa_queue_byte(struct vsxxxaa *mouse, unsigned char byte) in vsxxxaa_queue_byte() argument 123 if (mouse->count == BUFLEN) { in vsxxxaa_queue_byte() 125 mouse->name, mouse->phys); in vsxxxaa_queue_byte() 126 vsxxxaa_drop_bytes(mouse, 1); in vsxxxaa_queue_byte() 131 mouse->buf[mouse->count++] = byte; in vsxxxaa_queue_byte() [all …]
|
H A D | Kconfig | 17 tristate "PS/2 mouse" 24 Say Y here if you have a PS/2 mouse connected to your system. This 25 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2 43 bool "ALPS PS/2 mouse protocol extension" if EXPERT 53 bool "BYD PS/2 mouse protocol extension" if EXPERT 63 bool "Logitech PS/2++ mouse protocol extension" if EXPERT 67 Say Y here if you have a Logitech PS/2++ mouse connected to 73 bool "Synaptics PS/2 mouse protocol extension" if EXPERT 95 bool "Cypress PS/2 mouse protocol extension" if EXPERT 105 bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EXPERT [all …]
|
/linux/drivers/hid/usbhid/ |
H A D | usbmouse.c | 51 struct usb_mouse *mouse = urb->context; in usb_mouse_irq() local 52 signed char *data = mouse->data; in usb_mouse_irq() 53 struct input_dev *dev = mouse->dev; in usb_mouse_irq() 82 dev_err(&mouse->usbdev->dev, in usb_mouse_irq() 84 mouse->usbdev->bus->bus_name, in usb_mouse_irq() 85 mouse->usbdev->devpath, status); in usb_mouse_irq() 90 struct usb_mouse *mouse = input_get_drvdata(dev); in usb_mouse_open() local 92 mouse->irq->dev = mouse->usbdev; in usb_mouse_open() 93 if (usb_submit_urb(mouse->irq, GFP_KERNEL)) in usb_mouse_open() 101 struct usb_mouse *mouse = input_get_drvdata(dev); in usb_mouse_close() local [all …]
|
H A D | Kconfig | 17 and mouse drivers at the same time. More information is available: 72 to use the generic HID driver for your USB mouse and prefer 73 to use the mouse in its limited Boot Protocol mode instead.
|
/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 17 keyswitches, mouse resolution, etc. can be accommodated. 20 different applications of the keyboard, joysticks, or mouse. Limited use of 40 0xF7 absolute mouse position record 41 0xF8-0xFB relative mouse position records (lsbs determined by 42 mouse button states) 55 The mouse port should be capable of supporting a mouse with resolution of 57 mouse should be scanned at a rate that will permit accurate tracking at 59 The ikbd can report mouse motion in three distinctly different ways. It can 61 within the ikbd, or by converting mouse motion into keyboard cursor control [all …]
|
H A D | amijoy.rst | 40 Amiga mouse pinout 96 JOY0DAT 00A R Denise Joystick-mouse 0 data (left vert, horiz) 97 JOY1DAT 00C R Denise Joystick-mouse 1 data (right vert,horiz) 123 clocked by 2 of the signals input from the mouse serial 168 JOYTEST 036 W Denise Write to all 4 joystick-mouse counters at once.
|
H A D | bcm5974.rst | 37 mouse via the mousedev driver (/dev/input/mice). 42 The Apple multi-touch trackpads report both mouse and keyboard events via 45 HID mouse and keyboard, and claim the whole device. To remedy, the usb
|
H A D | appletouch.rst | 29 the mouse data from /dev/input/mice (using gpm, or X11). 33 tap for middle button mouse emulation, 3 finger tap for right button mouse
|
H A D | elantech.rst | 67 Note that a mouse button is also associated with either the touchpad or the 243 L, R, M = 1 when Left, Right, Middle mouse button pressed 283 directly to L, M and R mouse buttons 311 L, R = 1 when Left, Right mouse button pressed 320 L, R = 1 when Left, Right mouse button pressed 433 L, R = 1 when Left, Right mouse button pressed 495 L, R = 1 when Left, Right mouse button pressed 578 L, R = 1 when Left, Right mouse button pressed 664 L, R = 1 when Left, Right mouse button pressed 703 L, R = 1 when Left, Right mouse button pressed [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-hid-roccat-kone | 4 Description: It is possible to switch the dpi setting of the mouse with the 8 setting reported by the mouse. This number has to be further 37 firmware reported by the mouse. Using the integer value eases 48 Description: The mouse can store 5 profiles which can be switched by the 57 data back to the mouse. The data has to be 975 bytes long. 59 The mouse will reject invalid data, whereas the profile number 67 Description: When read, this file returns the settings stored in the mouse. 71 When written, this file lets write settings back to the mouse. 72 The data has to be 36 bytes long. The mouse will reject invalid 82 that's active when the mouse is powered on. [all …]
|
H A D | sysfs-driver-hid-lenovo | 4 Description: This controls if mouse clicks should be generated if the trackpoint is quickly pressed… 30 Description: This setting controls if the mouse click events generated by pressing the trackpoint (… 31 a left or right mouse button click. 47 Description: This setting controls how fast the trackpoint needs to be pressed to generate a mouse …
|
/linux/Documentation/ABI/obsolete/ |
H A D | sysfs-driver-hid-roccat-savu | 4 Description: The mouse can store 5 profiles which can be switched by the 8 respective profile buttons to the mouse. The data has to be 10 The mouse will reject invalid data. 28 Description: The mouse can store 5 profiles which can be switched by the 33 settings back to the mouse. The data has to be 43 bytes long. 34 The mouse will reject invalid data. 62 Description: The mouse can store 5 profiles which can be switched by the 65 that's active when the mouse is powered on next time. 66 When written, the mouse activates the set profile immediately. 68 The mouse will reject invalid data. [all …]
|
H A D | sysfs-driver-hid-roccat-konepure | 4 Description: The mouse can store 5 profiles which can be switched by the 7 that's active when the mouse is powered on next time. 8 When written, the mouse activates the set profile immediately. 10 The mouse will reject invalid data. 32 Description: The mouse can store a macro with max 500 key/button strokes 43 Description: The mouse can store 5 profiles which can be switched by the 47 buttons back to the mouse. The data has to be 59 bytes long. 48 The mouse will reject invalid data. 58 Description: The mouse can store 5 profiles which can be switched by the 63 settings back to the mouse. The data has to be 31 bytes long. [all …]
|
H A D | sysfs-driver-hid-roccat-koneplus | 7 profile that's active when the mouse is powered on next time. 9 and the mouse activates this profile immediately. 18 profile that's active when the mouse is powered on next time. 20 and the mouse activates this profile immediately. 28 firmware reported by the mouse. Using the integer value eases 47 Description: The mouse can store a macro with max 500 key/button strokes 58 Description: The mouse can store 5 profiles which can be switched by the 62 buttons back to the mouse. The data has to be 77 bytes long. 63 The mouse will reject invalid data. 73 Description: The mouse can store 5 profiles which can be switched by the [all …]
|
H A D | sysfs-driver-hid-roccat-pyra | 4 Description: It is possible to switch the cpi setting of the mouse with the 7 setting reported by the mouse. This number has to be further 35 firmware reported by the mouse. Using the integer value eases 54 Description: The mouse can store 5 profiles which can be switched by the 58 buttons back to the mouse. The data has to be 19 bytes long. 59 The mouse will reject invalid data. 69 Description: The mouse can store 5 profiles which can be switched by the 81 Description: The mouse can store 5 profiles which can be switched by the 86 settings back to the mouse. The data has to be 13 bytes long. 87 The mouse will reject invalid data. [all …]
|
H A D | sysfs-driver-hid-roccat-kovaplus | 17 When written, the mouse activates this profile immediately. 19 active when the mouse is powered on. 46 firmware reported by the mouse. Using the integer value eases 65 Description: The mouse can store 5 profiles which can be switched by the 69 buttons back to the mouse. The data has to be 23 bytes long. 70 The mouse will reject invalid data. 80 Description: The mouse can store 5 profiles which can be switched by the 92 Description: The mouse can store 5 profiles which can be switched by the 97 settings back to the mouse. The data has to be 16 bytes long. 98 The mouse will reject invalid data. [all …]
|
/linux/Documentation/arch/x86/ |
H A D | usb-legacy-support.rst | 12 feature that allows one to use the USB mouse and keyboard as if they were 18 1) On some machines, the emulated PS/2 mouse takes over even when no USB 19 mouse is present and a real PS/2 mouse is present. In that case the extra 20 features (wheel, extra buttons, touchpad mode) of the real PS/2 mouse may 23 2) If CONFIG_HIGHMEM64G is enabled, the PS/2 mouse emulation can cause 36 PS/2 mouse driver. Since the PS/2 mouse driver is in 2.6 compiled into
|
/linux/drivers/input/ |
H A D | Kconfig | 9 tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT 12 Say Y here if you have any input device (mouse, keyboard, tablet, 15 keyboard and mouse. 92 Say Y here if you want your mouse to be accessible as char devices 94 emulated IntelliMouse Explorer PS/2 mouse. That way, all user space 96 mouse. 107 Say Y here if you want your mouse also be accessible as char device 119 it as a mouse then the mousedev driver needs to know the X window 129 it as a mouse then the mousedev driver needs to know the X window 159 want all events (keypresses, mouse movements), to be output to [all …]
|
/linux/Documentation/input/ |
H A D | input.rst | 25 events (keystrokes, mouse movements) to the input module. 31 via various interfaces - keystrokes to the kernel, mouse movements via 37 For the most usual configuration, with one USB mouse and one USB keyboard, 48 After this, the USB keyboard will work straight away, and the USB mouse 60 After that you have to point GPM (the textmode mouse cut&paste tool) and 73 When you do all of the above, you can use your USB mouse and keyboard. 118 ``mousedev`` is a hack to make legacy programs that use mouse input 120 a PS/2-style (a la /dev/psaux) mouse device available to the 134 Each ``mouse`` device is assigned to a single mouse or digitizer, except 144 via a virtual PS/2 mouse and thus needs to be scaled [all …]
|
/linux/drivers/input/serio/ |
H A D | Kconfig | 11 * standard AT keyboard and PS/2 mouse * 25 communicate with keyboard, mouse, etc. 35 mouse are connected to the computer. If you use these devices, 48 Say Y here if you plan to use an input device (mouse, joystick, 63 equipped with the ct82c710 chip and want to use a mouse connected 80 an additional AT keyboard, XT keyboard or PS/2 mouse. 109 tristate "HP GSC PS/2 keyboard and PS/2 mouse controller" 149 tristate "PCI PS/2 keyboard and PS/2 mouse controller" 174 and you want to attach and use a keyboard, mouse, or both. 184 to a PS/2 port, such as PS/2 mouse or standard AT keyboard. [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_mouse.py | 78 mouse = MouseData() 79 mouse.b1 = int(left) 80 mouse.b2 = int(right) 81 mouse.b3 = int(middle) 82 mouse.x = x 83 mouse.y = y 84 mouse.wheel = wheel 85 mouse.acpan = acpan 86 return super().create_report(mouse, reportID=reportID)
|
/linux/drivers/misc/ibmasm/ |
H A D | remote.c | 127 input->data.mouse.x, input->data.mouse.y, in print_input() 148 input_report_abs(dev, ABS_X, input->data.mouse.x); in send_mouse_event() 149 input_report_abs(dev, ABS_Y, input->data.mouse.y); in send_mouse_event()
|
/linux/Documentation/hid/ |
H A D | hidintro.rst | 25 are using to interact with a computer, be it a mouse, a touchpad, a 32 need to have specialized code in the kernel for every mouse model 40 bits from 8 to 15 is the delta x coordinate of a mouse". 113 Parsing the mouse HID report descriptor with `hid-tools 170 The mouse has also two physical positions (Usage (X), Usage (Y)) 199 This Report Descriptor tells us that the mouse input will be 201 bits used, five for padding), the last three for the mouse X, Y and 204 Indeed, for any event, the mouse will send a *report* of four bytes. 252 HID devices can have Input Reports, like in the mouse example, Output 275 any report. A device with only one supported HID report (like the mouse [all …]
|
/linux/Documentation/usb/ |
H A D | gadget_hid.rst | 97 device type (keyboard / mouse / joystick) - E.G.:: 121 # hid_gadget_test /dev/hidg1 mouse 123 You can test the mouse emulation. Values are two signed numbers. 351 printf(" mouse options:\n" 355 printf("\n mouse values:\n" 381 fprintf(stderr, "Usage: %s devname mouse|keyboard|joystick\n",
|
/linux/Documentation/driver-api/gpio/ |
H A D | drivers-on-gpio.rst | 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 25 up to three buttons by simply using GPIOs and no mouse port. You can cut the 26 mouse cable and connect the wires to GPIO lines or solder a mouse connector
|