diff options
Diffstat (limited to 'console-client/xkb/xkb-data')
-rw-r--r-- | console-client/xkb/xkb-data/keymap/hurd | 347 | ||||
-rw-r--r-- | console-client/xkb/xkb-data/symbols/hurd | 125 | ||||
-rw-r--r-- | console-client/xkb/xkb-data/types/hurd | 18 |
3 files changed, 490 insertions, 0 deletions
diff --git a/console-client/xkb/xkb-data/keymap/hurd b/console-client/xkb/xkb-data/keymap/hurd new file mode 100644 index 00000000..c49bb382 --- /dev/null +++ b/console-client/xkb/xkb-data/keymap/hurd @@ -0,0 +1,347 @@ +// $Xorg: xfree86,v 1.3 2000/08/17 19:54:40 cpqbld Exp $ + + + + +// $XFree86: xc/programs/xkbcomp/keymap/xfree86,v 3.26 2002/01/16 18:20:11 dawes Exp $ + +xkb_keymap "Hurd" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default+hurd" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+hurd+pc104+group(win_switch)+compose(menu)" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "us" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default+hurd" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc105)+hurd" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "us_microsoft" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc105)" }; + xkb_geometry { include "microsoft" }; +}; +xkb_keymap "us_flexpro" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc105)" }; + xkb_geometry { include "keytronic(FlexPro)" }; +}; +xkb_keymap "en_US" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default+hurd" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+hurd" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "be" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+be" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "bg" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+bg" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "de" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+de" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "dk" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+dk" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "dvorak" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+dvorak" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "es" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+es" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "fr" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+fr" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "fr_CA" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ca" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "gb" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+gb" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "hr" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+hr" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "it" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+it" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "lt" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+lt" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "lt_std" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+lt_std" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "lv" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+lv" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "mk" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+mk" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "mt" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+mt" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "mt_us" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+mt_us" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "no" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+no" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "pl" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+pl" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "pt" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+pt" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "ru" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ru" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "se_FI" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+fi" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "se_SE" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+se" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "th" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+th" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "de_CH" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+de_CH" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "fr_CH" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+fr_CH" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "jp106" { + xkb_keycodes { include "xfree86(jp106)" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "jp(jp106)" }; + xkb_geometry { include "pc(jp106)" }; +}; + +// Additions by Eric Moreau, 1998-09-27 +// I am reachable at eric_moreau@compuserve.com + +xkb_keymap "fr_CA_sundeadkeys" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc102)+ca_enhanced(sundeadkeys)+us_group3(basic)+group(ctrl_shift_toggle)+ralt(mode_switch)" }; + xkb_geometry { include "pc(pc102)" }; +}; + +xkb_keymap "fr_CA" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc102)+ca_enhanced(basic)+us_group3(basic)+group(ctrl_shift_toggle)+ralt(mode_switch)" }; + xkb_geometry { include "pc(pc102)" }; +}; + +// us_intl and br by Ricardo Y. Igarashi (iga@that.com.br) +// us_intl means standard us keyboard plus dead_keys symbols +// these keyboards are very popular in Brazil + +xkb_keymap "us_intl" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc101)+us_intl" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "br" { + xkb_keycodes { include "xfree86(abnt2)" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "us(pc101)+br" }; + xkb_geometry { include "pc(abnt2)" }; +}; + +// cz and sk keymaps by Kamil Toman (ktoman@email.cz) +// are designed to replace old czechoslovakian and czsk keyboards +// and their prog variants. Those are now obsolete and should not be used anymore. +xkb_keymap "cz" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+cz" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "cz_qwerty" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+cz_qwerty" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "sk" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+sk" }; + xkb_geometry { include "pc" }; +}; +xkb_keymap "sk_qwerty" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+sk_qwerty" }; + xkb_geometry { include "pc" }; +}; + +xkb_keymap "sl" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+si" }; + xkb_geometry { include "pc(pc102)" }; +}; +xkb_keymap "sl_SI" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+si" }; + xkb_geometry { include "pc(pc102)" }; +}; + +// Additions by Cristian Gafton, <gafton@redhat.com> +xkb_keymap "ro" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc101)+ro(pc101)" }; + xkb_geometry { include "pc(pc101)" }; +}; +xkb_keymap "ro_microsoft" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ro(pc105)" }; + xkb_geometry { include "pc(pc105)" }; +}; +xkb_keymap "tr" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+tr" }; + xkb_geometry { include "pc(pc102)" }; +}; +// Additions by Arabeyes Team, <support@arabeyes.org> +xkb_keymap "ar" { + xkb_keycodes { include "xfree86" }; + xkb_types { include "default" }; + xkb_compatibility { include "default" }; + xkb_symbols { include "en_US(pc105)+ar" }; + xkb_geometry { include "pc(pc102)" }; +}; diff --git a/console-client/xkb/xkb-data/symbols/hurd b/console-client/xkb/xkb-data/symbols/hurd new file mode 100644 index 00000000..39edf2ae --- /dev/null +++ b/console-client/xkb/xkb-data/symbols/hurd @@ -0,0 +1,125 @@ +// -*- Mode: C -*- +default +xkb_symbols "hurd" { + /* Switch to local consoles by default. */ + // SwitchScreen.SameServer; + + /* Make F1 - F10 switch virtual consoles when Alt is held down. */ + key <FK01> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 1), + NoAction () ] + }; + key <FK02> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 2), + NoAction () ] + }; + key <FK03> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 3), + NoAction () ] + }; + key <FK04> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 4), + NoAction () ] + }; + key <FK05> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 5), + NoAction () ] + }; + key <FK06> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 6), + NoAction () ] + }; + key <FK07> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 7), + NoAction () ] + }; + key <FK08> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 8), + NoAction () ] + }; + key <FK09> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 9), + NoAction () ] + }; + key <FK10> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction () , SwitchScreen (screen = 10), + NoAction () ] + }; + + // Make the left and right cursor keys switch virtual consoles when + // Alt is held down. + key <LEFT> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), SwitchScreen (screen -= 1), + NoAction () ] + }; + key <RGHT> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), SwitchScreen (screen += 1), + NoAction () ] + }; + + // Scroll the console up or down (one line). + key <UP> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), ConsScroll (line -= 1) ] + }; + key <DOWN> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), ConsScroll (line += 1) ] + }; + + // Scroll the console up or down (1/2 screen). + key <PGUP> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), NoAction (), + ConsScroll (screen -= 0.5) ] + }; + key <PGDN> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), NoAction (), + ConsScroll (screen += 0.5) ] + }; + + // Scroll the console to 0%, 25%, 75% or 100%. + key <HOME> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), + ConsScroll (percentage = 0), + ConsScroll (percentage = 25) ] + }; + key <END> + { + type[Group1] = "HURD", + actions[Group1] = [ NoAction (), + ConsScroll (percentage = 100), + ConsScroll (percentage = 75) ] + }; +}; diff --git a/console-client/xkb/xkb-data/types/hurd b/console-client/xkb/xkb-data/types/hurd new file mode 100644 index 00000000..e6c7aa0c --- /dev/null +++ b/console-client/xkb/xkb-data/types/hurd @@ -0,0 +1,18 @@ +// -*- Mode: C -*- + +default xkb_types "hurd" { + virtual_modifiers Alt; + + type "HURD" + { + modifiers = Shift + Alt + Control; + map[Alt] = Level2; + map[Shift] = Level3; + map[Control] = Level4; + level_name[Level1] = "Base"; + level_name[Level2] = "Hurd console"; + level_name[Level3] = "Hurd console2"; + level_name[Level4] = "Hurd console3"; + }; +}; + |