summaryrefslogtreecommitdiff
path: root/compat/group_led
diff options
context:
space:
mode:
Diffstat (limited to 'compat/group_led')
-rw-r--r--compat/group_led22
1 files changed, 22 insertions, 0 deletions
diff --git a/compat/group_led b/compat/group_led
new file mode 100644
index 0000000..0805fa6
--- /dev/null
+++ b/compat/group_led
@@ -0,0 +1,22 @@
+// $XFree86: xc/programs/xkbcomp/compat/group_led,v 1.1.2.2 1999/07/22 14:21:30 hohndel Exp $
+// This is a "default" compatibility with a small modification:
+// an "Scroll Lock" LED now shows the active keyboard group
+default xkb_compatibility "group_led" {
+ include "basic"
+ augment "mousekeys"
+ augment "accessx(basic)"
+ augment "misc"
+ augment "iso9995"
+ augment "japan"
+// This is to make Mode_switch working even in group 2
+ virtual_modifiers AltGr;
+ interpret Mode_switch {
+ useModMapMods= level1;
+ virtualModifier= AltGr;
+ action= SetGroup(group=+1);
+ };
+ indicator "Scroll Lock" {
+ allowExplicit;
+ groups= All-Group1;
+ };
+};