mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-09 08:21:23 -04:00
Add command line switches to disable pointer and touch
I am using a wireless keyboard with an integrated touchpad. I do neither need nor want the touchpad, but I am unable to attach the keyboard only (without the pointer device) to my computer. I therefore find it convenient to simply disable that device when starting `cage`. The switch for disabling touch input is there for consistency. Maybe it comes in handy to someone else at some point. I don't have any previous experience with wayland, so there is a chance that I simply missed some environment variable that accomplishes the same. In this case, this commit would be unnecessary. The command line switches `P` and `T` are quite ad-hoc. I probably would have gone for `--disable-pointer` and `--disable-touch` if long command line switches had already been in use. If someone has a better idea than `P` and `T`, please suggest it.
This commit is contained in:
parent
efaf76e9ab
commit
4934225759
4 changed files with 24 additions and 4 deletions
|
|
@ -27,6 +27,11 @@ activities outside the scope of the running application are prevented.
|
|||
*last* Cage uses only the last connected monitor.
|
||||
*extend* Cage extends the display across all connected monitors.
|
||||
|
||||
*-P*
|
||||
Disable pointer device. This comes in handy if a pointer device
|
||||
is attached to the computer running *cage*, but undesirable for
|
||||
application.
|
||||
|
||||
*-r*
|
||||
Rotate the output 90 degrees clockwise. This can be specified up to three
|
||||
times, each resulting in an additional 90 degrees clockwise rotation.
|
||||
|
|
@ -34,6 +39,9 @@ activities outside the scope of the running application are prevented.
|
|||
*-s*
|
||||
Allow VT switching
|
||||
|
||||
*-T*
|
||||
Disable touch device. Like *-P*, but for touchscreens.
|
||||
|
||||
*-v*
|
||||
Show the version number and exit.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue