creating double keystroke letters

18 views
Skip to first unread message

Timothy Liptrot

unread,
May 3, 2016, 4:29:31 PM5/3/16
to Ukelele Users
Hello Ukelele community!

I am working on a project to create a new keyboard layout for the Arabic written language. I'm looking for languages from which I could attach certain letters or outputs to one key pressed different numbers of times. For example, a single tap of the d key would produce the letter د while two taps of the d key within a fraction of a second produce ذ, a different but mnemonicly related key. For the letter a, it would be easiest for the program to cycle through five different forms, as follows ا أ إ آ ء. Another important function is for the shift key to cycle through letters backward, allowing the typer to cycle ء آ إ أ ا..  A description of the keyboard I'm trying to implement can be found here.


Can I do this using Ukelele? What other programs might allow me to do this, possibly in windows or UbuntU?

Thanks all!

John Brownie

unread,
May 3, 2016, 5:34:17 PM5/3/16
to ukelel...@googlegroups.com
No, you can't do this with a keyboard layout. You'd be looking at an Input Method for the Mac, which is not what Ukelele produces. It involves programming in Objective-C or Swift to get it done, so it's not simple.

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/InputMethodKitFrameworkRef/_index.html
http://developer.apple.com/library/mac/#samplecode/NumberInput_IMKit_Sample/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007466

John
--
John Brownie, john_b...@sil.org or j.br...@sil.org.pg
Summer Institute of Linguistics, Ukarumpa, Eastern Highlands Province, Papua New Guinea
Mussau-Emira language, Mussau Island, New Ireland Province, Papua New Guinea
Reply all
Reply to author
Forward
0 new messages