diff options
-rwxr-xr-x | p31xx-common.mk | 1 | ||||
-rw-r--r-- | usr/keychars/sec_keyboard.kcm | 334 | ||||
-rw-r--r-- | usr/keylayout/sec_keyboard.kl | 185 |
3 files changed, 427 insertions, 93 deletions
diff --git a/p31xx-common.mk b/p31xx-common.mk index 0134161..86e368d 100755 --- a/p31xx-common.mk +++ b/p31xx-common.mk @@ -57,6 +57,7 @@ PRODUCT_COPY_FILES += \ # Keylayout PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/usr/keychars/espresso-gpio-keypad.kcm:system/usr/keychars/espresso-gpio-keypad.kcm \ + $(LOCAL_PATH)/usr/keychars/sec_keyboard.kcm:system/usr/keychars/sec_keyboard.kcm \ $(LOCAL_PATH)/usr/keylayout/espresso-gpio-keypad.kl:system/usr/keylayout/espresso-gpio-keypad.kl \ $(LOCAL_PATH)/usr/keylayout/sec_keyboard.kl:system/usr/keylayout/sec_keyboard.kl diff --git a/usr/keychars/sec_keyboard.kcm b/usr/keychars/sec_keyboard.kcm new file mode 100644 index 0000000..f350ab9 --- /dev/null +++ b/usr/keychars/sec_keyboard.kcm @@ -0,0 +1,334 @@ +type FULL + +key A { + label: 'A' + base: 'a' + shift, capslock: 'A' +} + +key B { + label: 'B' + base: 'b' + shift, capslock: 'B' +} + +key C { + label: 'C' + base: 'c' + shift, capslock: 'C' +} + +key D { + label: 'D' + base: 'd' + shift, capslock: 'D' +} + +key E { + label: 'E' + base: 'e' + shift, capslock: 'E' + alt: '\u20ac' +} + +key F { + label: 'F' + base: 'f' + shift, capslock: 'F' +} + +key G { + label: 'G' + base: 'g' + shift, capslock: 'G' +} + +key H { + label: 'H' + base: 'h' + shift, capslock: 'H' +} + +key I { + label: 'I' + base: 'i' + shift, capslock: 'I' +} + +key J { + label: 'J' + base: 'j' + shift, capslock: 'J' +} + +key K { + label: 'K' + base: 'k' + shift, capslock: 'K' +} + +key L { + label: 'L' + base: 'l' + shift, capslock: 'L' +} + +key M { + label: 'M' + base: 'm' + shift, capslock: 'M' + alt: '\u00b5' +} + +key N { + label: 'N' + base: 'n' + shift, capslock: 'N' +} + +key O { + label: 'O' + base: 'o' + shift, capslock: 'O' +} + +key P { + label: 'P' + base: 'p' + shift, capslock: 'P' +} + +key Q { + label: 'Q' + base: 'q' + shift, capslock: 'Q' + alt: '@' +} + +key R { + label: 'R' + base: 'r' + shift, capslock: 'R' +} + +key S { + label: 'S' + base: 's' + shift, capslock: 'S' +} + +key T { + label: 'T' + base: 't' + shift, capslock: 'T' +} + +key U { + label: 'U' + base: 'u' + shift, capslock: 'U' +} + +key V { + label: 'V' + base: 'v' + shift, capslock: 'V' +} + +key W { + label: 'W' + base: 'w' + shift, capslock: 'W' +} + +key X { + label: 'X' + base: 'x' + shift, capslock: 'X' +} + +key Y { + label: 'Y' + base: 'y' + shift, capslock: 'Y' +} + +key Z { + label: 'Z' + base: 'z' + shift, capslock: 'Z' +} + +key 0 { + label: '0' + number: '0' + base: '0' + shift, capslock: '=' + alt: '}' +} + +key 1 { + label: '1' + number: '1' + base: '1' + shift, capslock: '!' +} + +key 2 { + label: '2' + number: '2' + base: '2' + shift, capslock: '"' + alt: '\u00b2' +} + +key 3 { + label: '3' + number: '3' + base: '3' + shift, capslock: '\u00a7' + alt: '\u00b3' +} + +key 4 { + label: '4' + number: '4' + base: '4' + shift, capslock: '$' +} + +key 5 { + label: '5' + number: '5' + base: '5' + shift, capslock: '%' +} + +key 6 { + label: '6' + number: '6' + base: '6' + shift, capslock: '&' +} + +key 7 { + label: '7' + number: '7' + base: '7' + shift, capslock: '/' + alt: '{' +} + +key 8 { + label: '8' + number: '8' + base: '8' + shift, capslock: '(' + alt: '[' +} + +key 9 { + label: '9' + number: '9' + base: '9' + shift, capslock: ')' + alt: ']' +} + +key SPACE { + label: ' ' + base: ' ' +} + +key ENTER { + label: '\n' + base: '\n' +} + +key TAB { + label: '\t' + base: '\t' +} + +key COMMA { + label: ',' + base: ',' + shift, capslock: ';' +} + +key PERIOD { + label: '.' + base: '.' + shift, capslock: ':' +} + +# QWERTZ: - +key SLASH { + label: '-' + base: '-' + shift, capslock: '_' +} + +# QWERTZ: circumflex accent +key GRAVE { + label: '\u005e' + base: '\u005e' + shift, capslock: '\u00b0' +} + +# QWERTZ: latin small letter sharp s +key MINUS { + label: '\u00df' + base: '\u00df' + shift, capslock: '?' + alt: '\\' +} + +# QWERTZ: acute accent +key EQUALS { + label: '\u00b4' + base: '\u00b4' + shift, capslock: '\u0060' +} + +# QWERTZ: latin capital letter u with diaeresis +key LEFT_BRACKET { + label: '\u00dc' + base: '\u00fc' + shift, capslock: '\u00dc' +} +# QWERTZ: plus sign +key RIGHT_BRACKET { + label: '+' + base: '+' + shift, capslock: '*' + alt: '~' +} + +# QWERTZ: less-than sign +key BACKSLASH { + label: '<' + base: '<' + shift: '>' + alt, capslock: '|' +} + +# QWERTZ: latin capital letter o with diaeresis +key SEMICOLON { + label: '\u00d6' + base: '\u00f6' + shift, capslock: '\u00d6' +} + +# QWERTZ: latin capital letter a with diaeresis +key APOSTROPHE { + label: '\u00c4' + base: '\u00e4' + shift, capslock: '\u00c4' +} + +key POUND { + label: '#' + base: '#' + shift, capslock: '\'' +}
\ No newline at end of file diff --git a/usr/keylayout/sec_keyboard.kl b/usr/keylayout/sec_keyboard.kl index 5a9a6b9..6dfffca 100644 --- a/usr/keylayout/sec_keyboard.kl +++ b/usr/keylayout/sec_keyboard.kl @@ -1,93 +1,92 @@ -key 158 BACK WAKE_DROPPED -key 359 HOME WAKE_DROPPED -key 61 RECENTAPPS WAKE_DROPPED -key 150 EXPLORER WAKE_DROPPED -key 215 EMAIL WAKE_DROPPED -key 152 POWER WAKE_DROPPED -key 224 BRIGHTNESS_DOWN WAKE_DROPPED -key 225 BRIGHTNESS_UP WAKE_DROPPED -key 113 MUTE WAKE_DROPPED -key 114 VOLUME_DOWN WAKE_DROPPED -key 115 VOLUME_UP WAKE_DROPPED -key 207 MEDIA_PLAY_PAUSE WAKE_DROPPED -key 168 MEDIA_REWIND WAKE_DROPPED -key 208 MEDIA_FAST_FORWARD WAKE_DROPPED -key 163 MEDIA_NEXT WAKE_DROPPED -key 165 MEDIA_PREVIOUS WAKE_DROPPED -key 185 APPLICATION WAKE_DROPPED -key 139 MENU WAKE_DROPPED -key 111 FORWARD_DEL WAKE_DROPPED - -key 41 GRAVE WAKE_DROPPED -key 2 1 WAKE_DROPPED -key 3 2 WAKE_DROPPED -key 4 3 WAKE_DROPPED -key 5 4 WAKE_DROPPED -key 6 5 WAKE_DROPPED -key 7 6 WAKE_DROPPED -key 8 7 WAKE_DROPPED -key 9 8 WAKE_DROPPED -key 10 9 WAKE_DROPPED -key 11 0 WAKE_DROPPED -key 12 MINUS WAKE_DROPPED -key 13 EQUALS WAKE_DROPPED -key 14 DEL WAKE_DROPPED - -key 15 TAB WAKE_DROPPED -key 16 Q WAKE_DROPPED -key 17 W WAKE_DROPPED -key 18 E WAKE_DROPPED -key 19 R WAKE_DROPPED -key 20 T WAKE_DROPPED -key 21 Y WAKE_DROPPED -key 22 U WAKE_DROPPED -key 23 I WAKE_DROPPED -key 24 O WAKE_DROPPED -key 25 P WAKE_DROPPED -key 26 LEFT_BRACKET WAKE_DROPPED -key 27 RIGHT_BRACKET WAKE_DROPPED -key 43 BACKSLASH WAKE_DROPPED - -key 58 CAPS_LOCK WAKE_DROPPED -key 30 A WAKE_DROPPED -key 31 S WAKE_DROPPED -key 32 D WAKE_DROPPED -key 33 F WAKE_DROPPED -key 34 G WAKE_DROPPED -key 35 H WAKE_DROPPED -key 36 J WAKE_DROPPED -key 37 K WAKE_DROPPED -key 38 L WAKE_DROPPED -key 39 SEMICOLON WAKE_DROPPED -key 40 APOSTROPHE WAKE_DROPPED -key 523 POUND WAKE_DROPPED -key 28 ENTER WAKE_DROPPED - -key 42 SHIFT_LEFT WAKE_DROPPED -key 44 Z WAKE_DROPPED -key 45 X WAKE_DROPPED -key 46 C WAKE_DROPPED -key 47 V WAKE_DROPPED -key 48 B WAKE_DROPPED -key 49 N WAKE_DROPPED -key 50 M WAKE_DROPPED -key 51 COMMA WAKE_DROPPED -key 52 PERIOD WAKE_DROPPED -key 53 SLASH WAKE_DROPPED -key 54 SHIFT_RIGHT WAKE_DROPPED - -key 29 CTRL_LEFT WAKE_DROPPED -key 187 SIP_ON_OFF WAKE_DROPPED -key 217 SEARCH WAKE_DROPPED -key 190 VOICESEARCH WAKE_DROPPED -key 57 SPACE WAKE_DROPPED -key 191 LANG WAKE_DROPPED -key 192 QPANEL_ON_OFF WAKE_DROPPED -key 100 ALT_GR WAKE_DROPPED - -key 108 DPAD_DOWN WAKE_DROPPED -key 103 DPAD_UP WAKE_DROPPED -key 105 DPAD_LEFT WAKE_DROPPED -key 106 DPAD_RIGHT WAKE_DROPPED - -key 143 NOTIFICATION WAKE
\ No newline at end of file +key 2 1 +key 3 2 +key 4 3 +key 5 4 +key 6 5 +key 7 6 +key 8 7 +key 9 8 +key 10 9 +key 11 0 +# QWERTZ: latin small letter sharp s +key 12 MINUS +# QWERTZ: acute accent +key 13 EQUALS +key 14 DEL +key 15 TAB +key 16 Q +key 17 W +key 18 E +key 19 R +key 20 T +key 21 Z +key 22 U +key 23 I +key 24 O +key 25 P +# QWERTZ: latin capital letter u with diaeresis +key 26 LEFT_BRACKET +# QWERTZ: plus sign +key 27 RIGHT_BRACKET +key 28 ENTER +key 29 CTRL_LEFT +key 30 A +key 31 S +key 32 D +key 33 F +key 34 G +key 35 H +key 36 J +key 37 K +key 38 L +# QWERTZ: latin capital letter o with diaeresis +key 39 SEMICOLON +# QWERTZ: latin capital letter a with diaeresis +key 40 APOSTROPHE +# QWERTZ: circumflex accent +key 41 GRAVE +key 42 SHIFT_LEFT +# QWERTZ: less-than sign +key 43 BACKSLASH +key 44 Y +key 45 X +key 46 C +key 47 V +key 48 B +key 49 N +key 50 M +key 51 COMMA +key 52 PERIOD +# QWERTZ: hyphen-minus +key 53 SLASH +key 54 SHIFT_RIGHT +key 57 SPACE +key 58 CAPS_LOCK +key 61 APP_SWITCH +key 100 ALT_RIGHT +key 103 DPAD_UP +key 105 DPAD_LEFT +key 106 DPAD_RIGHT +key 108 DPAD_DOWN +key 111 FORWARD_DEL +key 113 VOLUME_MUTE +key 114 VOLUME_DOWN +key 115 VOLUME_UP +key 139 MENU +key 150 EXPLORER +key 152 POWER +key 158 BACK +key 163 MEDIA_NEXT +key 165 MEDIA_PREVIOUS +#key 185 APPS - NOT IMPLEMENTED +#key 187 TOGGLE KEYBOARD - NOT IMPLEMENTED +#key 190 VOICE INPUT - NOT IMPLEMENTED +key 191 LANGUAGE_SWITCH +key 192 NOTIFICATION +key 207 MEDIA_PLAY_PAUSE +key 215 ENVELOPE +key 217 SEARCH +key 224 BRIGHTNESS_DOWN +key 225 BRIGHTNESS_UP +key 359 HOME +key 523 POUND
\ No newline at end of file |