]> git.sesse.net Git - pistorm/blobdiff - default.cfg
support stealing the keyboard from the input layer
[pistorm] / default.cfg
index 0d66addf04b67d83eb854a5be61dc8680f4fddb5..bec305a265203459b119ca04d30ceddd02dc1912 100644 (file)
@@ -46,7 +46,9 @@ platform amiga
 # Syntax is mouse [device] [toggle key]
 #mouse /dev/input/mouse0 m
 # Forward keyboard events to host system, defaults to off unless toggle key is pressed, toggled off using F12.
-#keyboard k
+# Add the keyword "grab" to steal the keyboard from the Pi, so Amiga input does not appear on the console or in X11.
+# (also helps prevent sending any ctrl-alt-del to the Amiga from resetting the Pi)
+keyboard k grab
 # Select a specific filename for the keyboard event source.
 # This is typically /dev/input/event1 or event0, but it may be event3 with for instance a wireless keyboard.
 # Use ls /dev/input/event* to check which event files are available and try until you find the one that works.