I tried, it works for physical keyboard. But it gives compilation error when touchscreen keyboard layout is included.
The idea is that when after a, e, i, o and u, if I press Escape (deadkey) followed by RALT K_NP8, the letters should move up as diacritical element. Similarly, with , and -, it should move down with RALT K_NP2; and with /, it should move to the center with RALT K_NP5.
For this, I used the following for Layout (Code):-
store(&NAME) 'useless'
store(&TARGETS) 'windows mobile'
store(&VISUALKEYBOARD) 'useless.kvks'
store(&LAYOUTFILE) 'useless.keyman-touch-layout'
store(esc) [T_ESC] [K_ESC]
store (no_key) 'aeiou' c no= North ==> Move up
store (no_item) U+0363 U+0364 U+0365 U+0366 U+0367
store (so_key) ",`-" c so= South ==> Move down
store (so_item) U+0339 U+0316 U+0331
store (ce_key) "/" c ce= Center ==> Move to center
store (ce_item) U+0338
begin Unicode > use(main)
group(main) using keys
+ any(esc) > dk(dead1)
any(no_key) dk(dead1) + [RALT K_NP8] > index(no_item,1)
any(so_key) dk(dead1) + [RALT K_NP2] > index(so_item,1)
any(ce_key) dk(dead1) + [RALT K_NP5] > index(ce_item,1)
I used the following for Touch Layout (Code):-
{
"phone": {
"font": "Tahoma",
"layer": [
{
"id": "default",
"row": [
{
"id": 1,
"key": [
{
"id": "T_ESC",
"text": "ESC",
"nextlayer": "numeric"
},
{
"id": "K_E",
"text": "e"
},
{
"id": "K_U",
"text": "u"
},
{
"id": "K_I",
"text": "i"
},
{
"id": "K_O",
"text": "o",
"pad": ""
},
{
"id": "K_A",
"text": "a",
"pad": "50"
},
{
"id": "K_HYPHEN",
"text": "-"
},
{
"id": "K_SLASH",
"text": "/"
},
{
"id": "K_COMMA",
"text": ","
}
]
},
{
"id": 2,
"key": []
},
{
"id": 3,
"key": []
}
]
},
{
"id": "numeric",
"row": [
{
"id": 1,
"key": [
{
"id": "K_NP2",
"text": "Dn",
"nextlayer": "default",
"layer": "rightalt"
},
{
"id": "K_NP5",
"text": "Ct",
"nextlayer": "default",
"layer": "rightalt"
},
{
"id": "K_NP8",
"text": "Up",
"nextlayer": "default",
"layer": "rightalt"
}
]
}
]
}
],
"displayUnderlying": false
}
}
Why is giving error? What is the remedy?