From d0e110f17d59fd923833836bcf59b4f5e91a3f7c Mon Sep 17 00:00:00 2001 From: Jean Lucas Date: Mon, 28 Dec 2015 13:37:52 -0300 Subject: [PATCH 1/3] Added xinput command for Linux The xinput utility is useful when you want to turn off a input device (laptop keyboard, for example). --- pages/linux/xinput.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/xinput.md diff --git a/pages/linux/xinput.md b/pages/linux/xinput.md new file mode 100644 index 0000000000..70a889393b --- /dev/null +++ b/pages/linux/xinput.md @@ -0,0 +1,15 @@ +# xinput + +> a utility to list available input devices, query information about a device and change input device settings + +- List all input devices. + +`xinput list` + +- Disconnect an input from a master. + +`xinput float {{id}}` + +- Reattach an input as slave to a master + +`xinput float {{id}} {{master id}}` From 8cfad8c61a6214e2c780b26e6feb5772645ae140 Mon Sep 17 00:00:00 2001 From: Jean Lucas Date: Mon, 28 Dec 2015 16:05:31 -0300 Subject: [PATCH 2/3] Update xinput.md --- pages/linux/xinput.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/xinput.md b/pages/linux/xinput.md index 70a889393b..d479c38178 100644 --- a/pages/linux/xinput.md +++ b/pages/linux/xinput.md @@ -6,10 +6,10 @@ `xinput list` -- Disconnect an input from a master. +- Disconnect an input from its master. `xinput float {{id}}` - Reattach an input as slave to a master -`xinput float {{id}} {{master id}}` +`xinput float {{id}} {{master_id}}` From 01b952940cf57831601127d9c119646454062a57 Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Mon, 18 Jan 2016 00:15:21 +0200 Subject: [PATCH 3/3] xinput: linting --- pages/linux/xinput.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/linux/xinput.md b/pages/linux/xinput.md index d479c38178..4cc72221ea 100644 --- a/pages/linux/xinput.md +++ b/pages/linux/xinput.md @@ -1,15 +1,15 @@ # xinput -> a utility to list available input devices, query information about a device and change input device settings +> List available input devices, query information about a device and change input device settings. -- List all input devices. +- List all input devices: `xinput list` -- Disconnect an input from its master. +- Disconnect an input from its master: `xinput float {{id}}` -- Reattach an input as slave to a master +- Reattach an input as slave to a master: `xinput float {{id}} {{master_id}}`