最終更新:2016-12-16 (金) 04:04:44 (2687d)
xinput
Top / xinput
utility to configure and test X input devices
xinput は、Xinput デバイスの設定およびテスト用ユーティリティです。
$ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ VMware VMware Virtual USB Mouse id=7 [slave pointer (2)] ⎜ ↳ VMware VMware Virtual USB Mouse id=8 [slave pointer (2)] ⎜ ↳ ImPS/2 Generic Wheel Mouse id=10 [slave pointer (2)] ⎜ ↳ ImPS/2 Generic Wheel Mouse id=11 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
usage
xinput -h usage : xinput get-feedbacks <device name> xinput set-ptr-feedback <device name> <threshold> <num> <denom> xinput set-integer-feedback <device name> <feedback id> <value> xinput get-button-map <device name> xinput set-button-map <device name> <map button 1> [<map button 2> [...]] xinput set-pointer <device name> [<x index> <y index>] xinput set-mode <device name> ABSOLUTE|RELATIVE xinput list [--short || --long || --name-only || --id-only] [<device name>...] xinput query-state <device name> xinput test [-proximity] <device name> xinput create-master <id> [<sendCore (dflt:1)>] [<enable (dflt:1)>] xinput remove-master <id> [Floating|AttachToMaster (dflt:Floating)] [<returnPointer>] [<returnKeyboard>] xinput reattach <id> <master> xinput float <id> xinput set-cp <window> <device> xinput test-xi2 [--root] <device> xinput map-to-output <device> <output name> xinput list-props <device> [<device> ...] xinput set-int-prop <device> <property> <format (8, 16, 32)> <val> [<val> ...] xinput set-float-prop <device> <property> <val> [<val> ...] xinput set-atom-prop <device> <property> <val> [<val> ...] xinput watch-props <device> xinput delete-prop <device> <property> xinput set-prop <device> [--type=atom|float|int] [--format=8|16|32] <property> <val> [<val> ...] xinput disable <device> xinput enable <device>
コマンド
- xinput get-feedbacks? <device name>
- xinput set-ptr-feedback? <device name> <threshold> <num> <denom>
- xinput set-integer-feedback? <device name> <feedback id> <value>
- xinput get-button-map? <device name>
- xinput set-button-map? <device name> <map button 1> [<map button 2> [...]]
- xinput set-pointer? <device name> [<x index> <y index>]
- xinput set-mode? <device name> ABSOLUTE|RELATIVE
- xinput list [--short || --long || --name-only || --id-only] [<device name>...]
- xinput query-state? <device name>
- xinput test? [-proximity] <device name>
- xinput create-master? <id> [<sendCore (dflt:1)>] [<enable (dflt:1)>]
- xinput remove-master? <id> [Floating|AttachToMaster? (dflt:Floating)] [<returnPointer>] [<returnKeyboard>]
- xinput reattach? <id> <master>
- xinput float? <id>
- xinput set-cp? <window> <device>
- xinput test-xi2? [--root] <device>
- xinput map-to-output? <device> <output name>
- xinput list-props <device> [<device> ...]
- xinput set-int-prop? <device> <property> <format (8, 16, 32)> <val> [<val> ...]
- xinput set-float-prop? <device> <property> <val> [<val> ...]
- xinput set-atom-prop? <device> <property> <val> [<val> ...]
- xinput watch-props? <device>
- xinput delete-prop? <device> <property>
- xinput set-prop <device> [--type=atom|float|int] [--format=8|16|32] <property> <val> [<val> ...]
- xinput disable? <device>
- xinput enable? <device>