summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-04-10 17:46:37 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-04-10 17:46:37 +0000
commit824eea06d7594409ea08ba40056b70c6f59130c5 (patch)
tree47f804a103978df0f18a819e379f69071cfd6e91 /dist
parente7d6a23970f4547b2d5f142013867ac2099c1251 (diff)
Add support for lkeys
ok matthieu@
Diffstat (limited to 'dist')
-rw-r--r--dist/xkeyboard-config/symbols/pc3
-rw-r--r--dist/xkeyboard-config/symbols/sun_vndr/us32
2 files changed, 25 insertions, 10 deletions
diff --git a/dist/xkeyboard-config/symbols/pc b/dist/xkeyboard-config/symbols/pc
index e9ff00452..5850c6d8b 100644
--- a/dist/xkeyboard-config/symbols/pc
+++ b/dist/xkeyboard-config/symbols/pc
@@ -35,6 +35,9 @@ xkb_symbols "pc105" {
key <MENU> { [ Menu ] };
+ // "Sun LKeys" section
+ include "sun_vndr/us(left_funkeys)"
+
// begin modifier mappings
modifier_map Shift { Shift_L, Shift_R };
modifier_map Lock { Caps_Lock, ISO_Lock };
diff --git a/dist/xkeyboard-config/symbols/sun_vndr/us b/dist/xkeyboard-config/symbols/sun_vndr/us
index 96875b079..5ac695d99 100644
--- a/dist/xkeyboard-config/symbols/sun_vndr/us
+++ b/dist/xkeyboard-config/symbols/sun_vndr/us
@@ -202,16 +202,28 @@ xkb_symbols "left_funkeys" {
// The above symbols were chosen for better compatibility withother xkb
// mappings. The old mappings are kepy below in case someone needs them
- key <STOP> { [ L1, L1, SunStop ] };
- key <AGAI> { [ L2, L2, SunAgain ] };
- key <PROP> { [ L3, L3, SunProps ] };
- key <UNDO> { [ L4, L4, SunUndo ] };
- key <FRNT> { [ L5, L5, SunFront ] };
- key <COPY> { [ L6, L6, SunCopy ] };
- key <OPEN> { [ L7, L7, SunOpen ] };
- key <PAST> { [ L8, L8, SunPaste ] };
- key <FIND> { [ L9, L9, SunFind ] };
- key <CUT> { [ L10, L10, SunCut ] };
+ //key <STOP> { [ L1, L1, SunStop ] };
+ //key <AGAI> { [ L2, L2, SunAgain ] };
+ //key <PROP> { [ L3, L3, SunProps ] };
+ //key <UNDO> { [ L4, L4, SunUndo ] };
+ //key <FRNT> { [ L5, L5, SunFront ] };
+ //key <COPY> { [ L6, L6, SunCopy ] };
+ //key <OPEN> { [ L7, L7, SunOpen ] };
+ //key <PAST> { [ L8, L8, SunPaste ] };
+ //key <FIND> { [ L9, L9, SunFind ] };
+ //key <CUT> { [ L10, L10, SunCut ] };
+
+ // OpenBSD variant
+ key <STOP> { [ Cancel ], [ F11 ] };
+ key <AGAI> { [ Redo ], [ F12 ] };
+ key <PROP> { [ SunProps ], [ F13 ] };
+ key <UNDO> { [ Undo ], [ F14 ] };
+ key <FRNT> { [ SunFront ], [ F15 ] };
+ key <COPY> { [ SunCopy ], [ F16 ] };
+ key <OPEN> { [ SunOpen ], [ F17 ] };
+ key <PAST> { [ SunPaste ], [ F18 ] };
+ key <FIND> { [ Find ], [ F19 ] };
+ key <CUT> { [ SunCut ], [ F20 ] };
};
hidden