version 1.12, 2008/10/16 18:37:19 |
version 1.13, 2010/08/02 23:17:36 |
|
|
.Qq button 2 |
.Qq button 2 |
item would usually just be referred to on the command line as: |
item would usually just be referred to on the command line as: |
.Pp |
.Pp |
.Dl $ usbhidctl -f /dev/mouse Mouse.Pointer.Button_2 |
.Dl $ usbhidctl -f /dev/wsmouse0 Mouse.Pointer.Button_2 |
.Pp |
.Pp |
Items can also be named by referring to parts of the item name with the |
Items can also be named by referring to parts of the item name with the |
numeric representation of the native HID usage identifiers. |
numeric representation of the native HID usage identifiers. |
|
|
.Qq button 2 |
.Qq button 2 |
item: |
item: |
.Pp |
.Pp |
.Dl $ usbhidctl -f /dev/mouse 1:Mouse.1:Pointer.Button:2 |
.Dl $ usbhidctl -f /dev/wsmouse0 1:Mouse.1:Pointer.Button:2 |
.Pp |
.Pp |
Devices with human interface outputs can be manipulated with the |
Devices with human interface outputs can be manipulated with the |
.Fl w |
.Fl w |
|
|
collection. |
collection. |
The following can be used to switch this LED off: |
The following can be used to switch this LED off: |
.Pp |
.Pp |
.Dl $ usbhidctl -f /dev/mouse -w Mouse.0xffff:2=0 |
.Dl $ usbhidctl -f /dev/wsmouse0 -w Mouse.0xffff:2=0 |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr usbhidaction 1 , |
.Xr usbhidaction 1 , |
.Xr usbhid 3 , |
.Xr usbhid 3 , |