summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2013-11-10 18:09:48 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2013-11-17 01:14:45 +0000
commitbf39904d2c4fb6d474204db41153f77506d81c0a (patch)
treeb4da3de8fb19a6cf4d90f805840a8476042a729a
parent70bbf18d6cddb7271db1b2e042765ace3c4ac485 (diff)
downloadxkeyboard-config-bf39904d2c4fb6d474204db41153f77506d81c0a.tar.gz
Add more unicode to us(dvp) layout.
This commit adds the following definitions to the alternative group of the us(dvp) layout: Shift+AC11 is en dash mnemonic: <EC11> is - Shift+AD02 is ... was: dead caron mnemonic: <AD02> is , Shift+AE11 is reverse interrobang mnemonic: <AE11> is ! Shift+AD11 is interrobang mnemonic: Shift+<AD11> is ? Shift+AB07 is micro mnemonic: <AB07> is m Note about ellipsis which replace existing dead caron: The us(dvp) inherited some definitions from us(dvorak) simply because it omitted definition of all 4 levels for given key: key <AD02> { [ comma, less, guillemotleft ] }; which specifies only two levels so the third and fourth happens to be inherited from us(dvorak)'s definitions: key <AD02> { [ comma, less, dead_cedilla, dead_caron ] }; I'm assuming that this was actually not intentional behaviour especially since the overwritten key is available in us(dvp) under another key (which make more sense): key <AD12> { [ at, asciicircum, dead_circumflex, dead_caron ] }; Because of that, I've decided to go ahead and break that behaviour in favour of adding a new key.
-rw-r--r--symbols/us9
1 files changed, 5 insertions, 4 deletions
diff --git a/symbols/us b/symbols/us
index 357aea1..e0253ea 100644
--- a/symbols/us
+++ b/symbols/us
@@ -567,13 +567,13 @@ xkb_symbols "dvp" {
key <AE08> { [ parenright, 2, onehalf ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE09> { [ plus, 4 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE10> { [ bracketright, 6 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
- key <AE11> { [ exclam, 8, exclamdown ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
+ key <AE11> { [ exclam, 8, exclamdown, U2E18 ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; // reversed interrobang
key <AE12> { [ numbersign, grave, dead_grave ] };
key <BKSP> { [ BackSpace, BackSpace ] };
// upper row, left side
key <AD01> { [ semicolon, colon, dead_diaeresis ] };
- key <AD02> { [ comma, less, guillemotleft ] };
+ key <AD02> { [ comma, less, guillemotleft, ellipsis ] };
key <AD03> { [ period, greater, guillemotright ] };
key <AD04> { [ p, P, paragraph, section ] };
key <AD05> { [ y, Y, udiaeresis, Udiaeresis ] };
@@ -581,7 +581,7 @@ xkb_symbols "dvp" {
// upper row, right side
key <AD08> { [ c, C, ccedilla, Ccedilla ] };
key <AD09> { [ r, R, registered, trademark ] };
- key <AD11> { [ slash, question, questiondown ] };
+ key <AD11> { [ slash, question, questiondown, U203D ] }; // interrobang
key <AD12> { [ at, asciicircum, dead_circumflex, dead_caron ] };
// home row, left side
@@ -596,11 +596,12 @@ xkb_symbols "dvp" {
key <AC08> { [ t, T, thorn, THORN ] };
key <AC09> { [ n, N, ntilde, Ntilde ] };
key <AC10> { [ s, S, ssharp ] };
- key <AC11> { [ minus, underscore, hyphen ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
+ key <AC11> { [ minus, underscore, hyphen, endash ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <BKSL> { [ backslash, bar ] };
// lower row, left side
key <AB01> { [ apostrophe, quotedbl, dead_acute ] };
+ key <AB07> { [ m, M, mu ], type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
include "level3(ralt_switch)"
};