This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
unix:xinput [2009/01/21 23:12] 127.0.0.1 external edit |
unix:xinput [2010/08/21 13:28] (current) robm |
||
|---|---|---|---|
| Line 52: | Line 52: | ||
| I then repeat this for all buttons. This trick will also be useful for testing the scroll wheel emulation later. | I then repeat this for all buttons. This trick will also be useful for testing the scroll wheel emulation later. | ||
| - | ==== Enabling Emulation ==== | + | ==== Enabling Emulation |
| + | |||
| + | cf. https:// | ||
| + | |||
| + | To enable for the current session (i.e. temporarily): | ||
| + | < | ||
| + | meermanr@ryoga: | ||
| + | $ xinput list | ||
| + | ⎡ Virtual core pointer | ||
| + | ⎜ ↳ Virtual core XTEST pointer | ||
| + | ⎜ ↳ SynPS/2 Synaptics TouchPad | ||
| + | ⎜ ↳ Serial Wacom Tablet | ||
| + | ⎜ ↳ Serial Wacom Tablet eraser | ||
| + | ⎜ ↳ Macintosh mouse button emulation | ||
| + | ⎜ ↳ Logitech USB Trackball | ||
| + | ⎜ ↳ Microsoft Natural® Ergonomic Keyboard 4000 id=16 [slave | ||
| + | ⎣ Virtual core keyboard | ||
| + | ↳ Virtual core XTEST keyboard | ||
| + | ↳ Power Button | ||
| + | ↳ Video Bus | ||
| + | ↳ Sleep Button | ||
| + | ↳ AT Translated Set 2 keyboard | ||
| + | ↳ Microsoft Natural® Ergonomic Keyboard 4000 id=15 [slave | ||
| + | |||
| + | meermanr@ryoga: | ||
| + | $ xinput query-state " | ||
| + | 2 classes : | ||
| + | ButtonClass | ||
| + | button[1]=up | ||
| + | button[2]=up | ||
| + | button[3]=up | ||
| + | button[4]=up | ||
| + | button[5]=up | ||
| + | button[6]=up | ||
| + | button[7]=up | ||
| + | button[8]=up | ||
| + | button[9]=up | ||
| + | ValuatorClass Mode=Relative Proximity=In | ||
| + | valuator[0]=151 | ||
| + | valuator[1]=388 | ||
| + | |||
| + | meermanr@ryoga: | ||
| + | $ xinput list-props " | ||
| + | Device ' | ||
| + | Device Enabled (117): 1 | ||
| + | Device Accel Profile (236): 0 | ||
| + | Device Accel Constant Deceleration (237): | ||
| + | Device Accel Adaptive Deceleration (239): | ||
| + | Device Accel Velocity Scaling (240): | ||
| + | Evdev Reopen Attempts (235): 10 | ||
| + | Evdev Axis Inversion (305): 0, 0 | ||
| + | Evdev Axes Swap (307): 0 | ||
| + | Axis Labels (308): | ||
| + | Button Labels (309): | ||
| + | Evdev Middle Button Emulation (310): 2 | ||
| + | Evdev Middle Button Timeout (311): 50 | ||
| + | Evdev Wheel Emulation (312): 1 | ||
| + | Evdev Wheel Emulation Axes (313): 0, 0, 4, 5 | ||
| + | Evdev Wheel Emulation Inertia (314): 10 | ||
| + | Evdev Wheel Emulation Timeout (315): | ||
| + | Evdev Wheel Emulation Button (316): 4 | ||
| + | Evdev Drag Lock Buttons (317): 0 | ||
| + | |||
| + | meermanr@ryoga: | ||
| + | $ xinput set-int-prop " | ||
| + | |||
| + | meermanr@ryoga: | ||
| + | $ xinput set-int-prop " | ||
| + | |||
| + | |||
| + | meermanr@ryoga: | ||
| + | $ xinput list-props " | ||
| + | Device Enabled (117): 1 | ||
| + | Device Accel Profile (236): 0 | ||
| + | Device Accel Constant Deceleration (237): | ||
| + | Device Accel Adaptive Deceleration (239): | ||
| + | Device Accel Velocity Scaling (240): | ||
| + | Evdev Reopen Attempts (235): 10 | ||
| + | Evdev Axis Inversion (305): 0, 0 | ||
| + | Evdev Axes Swap (307): 0 | ||
| + | Axis Labels (308): | ||
| + | Button Labels (309): | ||
| + | Evdev Middle Button Emulation (310): 2 | ||
| + | Evdev Middle Button Timeout (311): 50 | ||
| + | Evdev Wheel Emulation (312): 1 | ||
| + | Evdev Wheel Emulation Axes (313): 0, 0, 4, 5 | ||
| + | Evdev Wheel Emulation Inertia (314): 10 | ||
| + | Evdev Wheel Emulation Timeout (315): | ||
| + | Evdev Wheel Emulation Button (316): 8 | ||
| + | Evdev Drag Lock Buttons (317): 0 | ||
| + | </ | ||
| + | |||
| + | ==== Enabling Emulation (Ubuntu 9.10) ==== | ||
| ''/ | ''/ | ||
| <code xml> | <code xml> | ||
| Line 152: | Line 244: | ||
| </ | </ | ||
| - | === Where can I find a definitive list of input.x11_options? | + | ==== Where can I find a definitive list of input.x11_options? |
| - | I honestly don't know. I stole these from various forums and the like. | + | http:// |
| == | == | ||