Home
last modified time | relevance | path

Searched refs:mouse (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/input/mouse/
H A Dvsxxxaa.c111 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 …]
/linux/drivers/hid/usbhid/
H A Dusbmouse.c51 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 DKconfig16 and mouse drivers at the same time. More information is available:
71 to use the generic HID driver for your USB mouse and prefer
72 to use the mouse in its limited Boot Protocol mode instead.
/linux/Documentation/input/devices/
H A Datarikbd.rst12 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 Dbcm5974.rst37 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 Dappletouch.rst29 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 Dsentelic.rst44 Bit4 => 1 = 4th mouse button is pressed, Forward one page.
45 0 = 4th mouse button is not pressed.
46 Bit5 => 1 = 5th mouse button is pressed, Backward one page.
47 0 = 5th mouse button is not pressed.
78 Bit4 => 1 = 4th mouse button is pressed, Forward one page.
79 0 = 4th mouse button is not pressed.
80 Bit5 => 1 = 5th mouse button is pressed, Backward one page.
81 0 = 5th mouse button is not pressed.
366 Bit4 => 4th mouse button(forward one page)
367 Bit5 => 5th mouse button(backward one page)
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid-roccat-kone4 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 Dsysfs-driver-hid-lenovo4 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 Dsysfs-driver-hid-roccat-savu4 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 Dsysfs-driver-hid-roccat-konepure4 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 Dsysfs-driver-hid-roccat-koneplus7 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 Dsysfs-driver-hid-roccat-pyra4 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 Dsysfs-driver-hid-roccat-kovaplus17 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/drivers/misc/ibmasm/
H A Dremote.c127 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/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py78 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/Documentation/hid/
H A Dhidintro.rst25 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 Dgadget_hid.rst97 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 Ddrivers-on-gpio.rst24 - 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
/linux/drivers/input/
H A DMakefile23 obj-$(CONFIG_INPUT_MOUSE) += mouse/
/linux/Documentation/input/
H A Duinput.rst116 mouse.
131 /* enable mouse button left and relative events */
157 /* Move the mouse diagonally, 5 units per axis */
/linux/Documentation/userspace-api/media/rc/
H A Drc-intro.rst15 interface, just like a keyboard or a mouse. So, it uses all ioctls
/linux/drivers/macintosh/
H A DKconfig67 the keyboard and mouse on some machines, as well as the non-volatile
161 tristate "Support for mouse button 2+3 emulation"
164 This provides generic support for emulating the 2nd and 3rd mouse
172 If you have an Apple machine with a 1-button mouse, say Y here.
/linux/drivers/input/rmi4/
H A DKconfig73 provides mouse input.
83 provides mouse input.
/linux/Documentation/driver-api/iio/
H A Dintro.rst14 focused on human interaction input devices (keyboard, mouse, touchscreen).

123