Commit 325c42e
Florian Fleissner
Implemented host_keymaps
host_keymaps enable defining keymaps in a natural fashion.
Instead of using Key constants like Key_A or LSHIFT(Key_A) it allows to
conveniently write "a" or "A".
The mappings between ascii and unicode characters to USB-HID keys
works by reverse engineering the host keymaps of a linux system.
The information of the provided keymap files allows for precisely
figuring out the Kaleidoscope-Key that is needed to generate a
specific utf8 character in a given keymap. For non-unicode
keycodes, the linux XKB-keysym name is mapped to a Kaleidoscope-Key.
The newly introduced host_keymap system is easily extensible and allows
users to define their own non-english keymaps, if necessary
by extending an existing keymap.
Signed-off-by: Florian Fleissner <[email protected]>1 parent ca8be53 commit 325c42e
File tree
643 files changed
+313609
-0
lines changed- examples/Keystrokes/HostKeymap
- src/kaleidoscope/host_keymap
- linux
- af
- fa-olpc
- olpc-ps
- ps
- standard
- uz-olpc
- uz
- al
- plisi
- standard
- am
- eastern-alt
- eastern
- olpc-phonetic
- phonetic-alt
- phonetic
- standard
- western
- apl
- apl2
- aplplusII
- aplx
- dyalog
- sax
- standard
- unified
- ara
- azerty_digits
- azerty
- basic_ext_digits
- basic_ext
- buckwalter
- digits
- mac
- olpc
- qwerty_digits
- qwerty
- standard
- sun_type6
- uga
- at
- mac
- nodeadkeys
- standard
- sundeadkeys
- au/standard
- az
- cyrillic
- standard
- ba
- alternatequotes
- standard
- unicodeus
- unicode
- us
- bd
- probhat
- standard
- be
- iso-alternate
- nodeadkeys
- oss_latin9
- oss_sundeadkeys
- oss
- standard
- sun_type6
- sundeadkeys
- wang
- bg
- bas_phonetic
- phonetic
- standard
- brai
- left_hand
- right_hand
- standard
- br
- dvorak
- nativo-epo
- nativo-us
- nativo
- nodeadkeys
- standard
- sun_type6
- thinkpad
- bt/standard
- bw/standard
- by
- latin
- legacy
- standard
- ca
- eng
- fr-dvorak
- fr-legacy
- ike
- kut
- multi-2gr
- multix
- multi
- shs
- standard
- sun_type6
- cd/standard
- ch
- de_mac
- de_nodeadkeys
- de_sundeadkeys
- fr_mac
- fr_nodeadkeys
- fr_sundeadkeys
- fr
- legacy
- standard
- sun_type6_de
- sun_type6_fr
- cm
- azerty
- dvorak
- french
- mmuock
- qwerty
- standard
- cn
- standard
- tib_asciinum
- tib
- ug
- cz
- bksl
- dvorak-ucw
- qwerty_bksl
- qwerty
- rus
- standard
- sun_type6
- ucw
- de
- T3
- adnw
- bone_eszett_home
- bone
- deadacute
- deadgraveacute
- deadtilde
- dsb_qwertz
- dsb
- dvorak
- hu
- koy
- lld
- mac_nodeadkeys
- mac
- neo_qwerty
- neo_qwertz
- neo
- nodeadkeys
- pl
- qwerty
- ro_nodeadkeys
- ro
- ru-recom
- ru-translit
- ru
- standard
- sun_type6
- sundeadkeys
- tr
- us
- dk
- dvorak
- mac_nodeadkeys
- mac
- nodeadkeys
- standard
- sun_type6
- winkeys
- dz
- ar
- ber
- standard
- ee
- dvorak
- nodeadkeys
- standard
- sun_type6
- us
- epo
- legacy
- standard
- es
- ast
- cat
- deadtilde
- dvorak
- mac
- nodeadkeys
- standard
- sun_type6
- sundeadkeys
- winkeys
- et/standard
- eu/standard
- fi
- classic
- das
- fidvorak
- mac
- nodeadkeys
- smi
- standard
- sun_type6
- winkeys
- fo
- nodeadkeys
- standard
- fr
- azerty
- bepo_latin9
- bepo
- bre
- dvorak
- geo
- latin9_nodeadkeys
- latin9_sundeadkeys
- latin9
- mac
- nodeadkeys
- oci
- oss_latin9
- oss_nodeadkeys
- oss_sundeadkeys
- oss
- standard
- sun_type6
- sundeadkeys
- gb
- colemak
- dvorakukp
- dvorak
- extd
- intl
- mac_intl
- mac
- standard
- sun_type6
- ge
- ergonomic
- mess
- os
- ru
- standard
- gh
- akan
- avn
- ewe
- fula
- ga
- generic
- gillbt
- hausa
- standard
- gn/standard
- gr
- extended
- nodeadkeys
- polytonic
- simple
- standard
- sun_type6
- hr
- alternatequotes
- standard
- unicodeus
- unicode
- us
- hu
- 101_qwerty_comma_dead
- 101_qwerty_comma_nodead
- 101_qwerty_dot_dead
- 101_qwerty_dot_nodead
- 101_qwertz_comma_dead
- 101_qwertz_comma_nodead
- 101_qwertz_dot_dead
- 101_qwertz_dot_nodead
- 102_qwerty_comma_dead
- 102_qwerty_comma_nodead
- 102_qwerty_dot_dead
- 102_qwerty_dot_nodead
- 102_qwertz_comma_dead
- 102_qwertz_comma_nodead
- 102_qwertz_dot_dead
- 102_qwertz_dot_nodead
- nodeadkeys
- oldhun
- qwerty
- standard
- id/standard
- ie
- CloGaelach
- UnicodeExpert
- ogam_is434
- ogam
- standard
- il
- biblicalSIL
- biblical
- lyx
- phonetic
- standard
- in
- ben_baishakhi
- ben_bornona
- ben_gitanjali
- ben_inscript
- ben_probhat
- ben
- bolnagri
- eeyek
- eng
- guj
- guru
- hin-kagapa
- hin-wx
- jhelum
- kan-kagapa
- kan
- mal_enhanced
- mal_lalitha
- mal
- mar-kagapa
- olck
- ori
- san-kagapa
- standard
- tam_TAB
- tam_TSCII
- tam_keyboard_with_numerals
- tam_unicode
- tam
- tel-kagapa
- tel-sarala
- tel
- urd-phonetic3
- urd-phonetic
- urd-winkeys
- iq
- ku_alt
- ku_ara
- ku_f
- ku
- standard
- ir
- ave
- ku_alt
- ku_ara
- ku_f
- ku
- pes_keypad
- standard
- is
- Sundeadkeys
- dvorak
- mac_legacy
- mac
- nodeadkeys
- standard
- it
- fur
- geo
- ibm
- intl
- lld
- mac
- nodeadkeys
- scn
- standard
- sun_type6
- us
- winkeys
- jp
- OADG109A
- dvorak
- kana86
- kana
- mac
- standard
- sun_type6
- sun_type7_suncompat
- sun_type7
- ke
- kik
- standard
- kg
- phonetic
- standard
- kh/standard
- kr
- kr104
- standard
- sun_type6
- kz
- ext
- kazrus
- ruskaz
- standard
- latam
- deadtilde
- dvorak
- nodeadkeys
- standard
- sundeadkeys
- la
- standard
- stea
- lk
- standard
- tam_TAB
- tam_unicode
- us
- lt
- ibm
- lekpa
- lekp
- standard
- std
- sun_type6
- us_dvorak
- us
- lv
- adapted
- apostrophecolemak
- apostrophe
- colemak
- dvorakprogr
- dvorak
- ergonomic
- fkey
- minuskeydvorakprogr
- minuskeydvorak
- modern
- standard
- sun_type6
- tilde
- ykeydvorakprogr
- ykeydvorak
- mao/standard
- ma
- french
- standard
- tifinagh-alt-phonetic
- tifinagh-alt
- tifinagh-extended-phonetic
- tifinagh-extended
- tifinagh-phonetic
- tifinagh
- md
- gag
- standard
- me
- cyrillicalternatequotes
- cyrillicyz
- cyrillic
- latinalternatequotes
- latinunicodeyz
- latinunicode
- latinyz
- standard
- mk
- nodeadkeys
- standard
- ml
- fr-oss
- standard
- us-intl
- us-mac
- mm/standard
- mn/standard
- mt
- standard
- us
- mv/standard
- my
- phonetic
- standard
- nec_vndr/jp/standard
- ng
- hausa
- igbo
- standard
- yoruba
- nl
- mac
- standard
- std
- sun_type6
- sundeadkeys
- no
- colemak
- dvorak
- mac_nodeadkeys
- mac
- nodeadkeys
- smi_nodeadkeys
- smi
- standard
- sun_type6
- winkeys
- np/standard
- ph
- capewell-dvorak-bay
- capewell-dvorak
- capewell-qwerf2k6-bay
- capewell-qwerf2k6
- colemak-bay
- colemak
- dvorak-bay
- dvorak
- qwerty-bay
- standard
- pk
- ara
- snd
- standard
- urd-crulp
- urd-nla
- pl
- colemak
- csb
- dvorak_altquotes
- dvorak_quotes
- dvorak
- dvp
- glagolica
- intl
- legacy
- qwertz
- ru_phonetic_dvorak
- standard
- sun_type6
- szl
- pt
- mac_nodeadkeys
- mac_sundeadkeys
- mac
- nativo-epo
- nativo-us
- nativo
- nodeadkeys
- standard
- sun_type6
- sundeadkeys
- ro
- cedilla
- crh_dobruja
- ergonomic
- standard
- std_cedilla
- std
- sun_type6
- winkeys
- rs
- alternatequotes
- combiningkeys
- latinalternatequotes
- latinunicodeyz
- latinunicode
- latinyz
- latin
- rue
- standard
- yz
- ru
- bak
- chm
- chu
- cv_latin
- cv
- dos
- kom
- legacy
- mac
- os_legacy
- os_winkeys
- phonetic_azerty
- phonetic_dvorak
- phonetic_fr
- phonetic_winkeys
- phonetic
- prxn
- rulemak
- ruu
- sah
- srp
- standard
- sun_type6
- tt
- typewriter-legacy
- typewriter
- udm
- xal
- se
- dvorak_a5
- dvorak
- mac
- nodeadkeys
- ovd
- rus_nodeadkeys
- rus
- smi
- standard
- sun_type6
- svdvorak
- swl
- us_dvorak
- si
- alternatequotes
- standard
- us
- sk
- bksl
- qwerty_bksl
- qwerty
- standard
- sun_type6
- sn/standard
- sy
- ku_alt
- ku_f
- ku
- standard
- syc_phonetic
- syc
- tg/standard
- th
- pat
- standard
- tis
- tj
- legacy
- standard
- tm
- alt
- standard
- tr
- alt
- crh_alt
- crh_f
- crh
- f
- intl
- ku_alt
- ku_f
- ku
- standard
- sun_type6
- sundeadkeys
- tw
- indigenous
- saisiyat
- standard
- tz/standard
- ua
- homophonic
- legacy
- phonetic
- rstu_ru
- rstu
- standard
- sun_type6
- typewriter
- winkeys
- us
- alt-intl-unicode
- alt-intl
- altgr-intl
- ats
- carpalx-altgr-intl
- carpalx-full-altgr-intl
- carpalx-full-intl
- carpalx-full
- carpalx-intl
- carpalx
- chr
- colemak
- crd
- cz_sk_de
- dvorak-alt-intl
- dvorak-classic
- dvorak-intl
- dvorak-l
- dvorak-r
- dvorak
- dvp
- euro
- hbs
- ibm238l
- intl-unicode
- intl
- mac
- norman
- olpc2
- rus
- scn
- standard
- sun_type6
- workman-intl
- workman
- uz
- latin
- standard
- vn/standard
- za/standard
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
643 files changed
+313609
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments