mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-19 06:47:41 +00:00
[Developer] Touch Layout importer from KVK used incorrect layer names for Shift+(LR)Ctrl/(LR)Alt modifiers
This commit is contained in:
parent
2d585d5ece
commit
240bbcaa21
1 changed files with 7 additions and 6 deletions
|
|
@ -159,6 +159,7 @@ var
|
|||
type
|
||||
TLayoutShiftState = record Shift: Word; id: ansistring end;
|
||||
const
|
||||
// These layer names match those in KeymanWeb, kmwosk.ts osk.modifierSpecials
|
||||
ShiftStates: array[0..21] of TLayoutShiftState = (
|
||||
(Shift: KVKS_NORMAL; id: 'default'),
|
||||
(Shift: KVKS_SHIFT; id: 'shift'),
|
||||
|
|
@ -177,12 +178,12 @@ const
|
|||
(Shift: KVKS_RALT; id: 'rightalt'),
|
||||
(Shift: KVKS_RCTRL or KVKS_RALT; id: 'rightctrl-rightalt'),
|
||||
(Shift: KVKS_SHIFT; id: 'shift'),
|
||||
(Shift: KVKS_SHIFT or KVKS_LCTRL; id: 'shift-lctrl'),
|
||||
(Shift: KVKS_SHIFT or KVKS_RCTRL; id: 'shift-rctrl'),
|
||||
(Shift: KVKS_SHIFT or KVKS_LALT; id: 'shift-lalt'),
|
||||
(Shift: KVKS_SHIFT or KVKS_RALT; id: 'shift-ralt'),
|
||||
(Shift: KVKS_SHIFT or KVKS_LCTRL or KVKS_LALT; id: 'shift-lctrl-lalt'),
|
||||
(Shift: KVKS_SHIFT or KVKS_RCTRL or KVKS_RALT; id: 'shift-rctrl-ralt')
|
||||
(Shift: KVKS_SHIFT or KVKS_LCTRL; id: 'leftctrl-shift'),
|
||||
(Shift: KVKS_SHIFT or KVKS_RCTRL; id: 'rightctrl-shift'),
|
||||
(Shift: KVKS_SHIFT or KVKS_LALT; id: 'leftalt-shift'),
|
||||
(Shift: KVKS_SHIFT or KVKS_RALT; id: 'rightalt-shift'),
|
||||
(Shift: KVKS_SHIFT or KVKS_LCTRL or KVKS_LALT; id: 'leftctrl-leftalt-shift'),
|
||||
(Shift: KVKS_SHIFT or KVKS_RCTRL or KVKS_RALT; id: 'rightctrl-rightalt-shift')
|
||||
);
|
||||
const
|
||||
NFirstChiralShiftState = 8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue