Bug 315448

Summary: Support multiple keys for one character (chording keyboards)
Product: [Applications] ktouch Reporter: Peter Feigl <craven>
Component: generalAssignee: Sebastian Gottfried <sebastian.gottfried>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.0
Sentry Crash Report:
Attachments: Chording Keyboard in ktouch
Screenshot of working patch
return multiple keys for a letter, not only one
use multiple keys for highlighting
keyboard layout for chording keyboard
random lessons for us(intl)

Description Peter Feigl 2013-02-19 12:34:40 UTC
Created attachment 77426 [details]
Chording Keyboard in ktouch

I'm learning the BAT Keyboard (see http://en.wikipedia.org/wiki/BAT_keyboard) and would like to use ktouch for this. Chording keyboards require the pressing of not only one but multiple keys to produce a character. This would work fine, if ktouch highlighted *all* the keys that have a certain character mentioned, and not just one. I tried adding character 'h' to multiple keys, but only one of them is highlighted when I should press 'h'.
Comment 1 Peter Feigl 2013-02-19 13:29:38 UTC
Created attachment 77428 [details]
Screenshot of working patch

This is a screenshot that shows how things look if the two diffs are applied
Comment 2 Peter Feigl 2013-02-19 13:30:09 UTC
Created attachment 77429 [details]
return multiple keys for a letter, not only one
Comment 3 Peter Feigl 2013-02-19 13:30:31 UTC
Created attachment 77430 [details]
use multiple keys for highlighting
Comment 4 Peter Feigl 2013-02-19 13:31:12 UTC
Created attachment 77431 [details]
keyboard layout for chording keyboard

This is an example layout. I chose us(intl) because I don't know how to explicitly tell ktouch which layout to use...
Comment 5 Peter Feigl 2013-02-19 13:31:37 UTC
Created attachment 77432 [details]
random lessons for us(intl)
Comment 6 Sebastian Gottfried 2013-02-22 22:26:08 UTC
Git commit 5a9eb9c3508e41bc093f3e7a0080ad861f7ab560 by Sebastian Gottfried.
Committed on 22/02/2013 at 23:19.
Pushed by gottfried into branch 'master'.

training screen: allow multiple highlighted keys for the next character

Based on a patch by Peter Feigl <craven@gmx.net>

This useful for training on chorded keyboards where one has to press
multiple keys at the same time to produce a character.
FIXED-IN: 4.11.0

M  +21   -12   src/qml/Keyboard.qml
M  +20   -17   src/qml/TrainingScreen.qml

http://commits.kde.org/ktouch/5a9eb9c3508e41bc093f3e7a0080ad861f7ab560