Commit graph

23 commits

Author SHA1 Message Date
sgschantz
0b8e3f62b4 remove key processing code from engine and move virtual key map to CoreHelper 2023-08-02 16:01:19 +07:00
sgschantz
5ffd91d29b restore OSK relative label height size to 0.45 2021-12-17 13:58:53 +07:00
sgschantz
a5f39a77d2 decrease OSK relative label height sizeto 0.42 2021-12-09 14:54:15 +07:00
sgschantz
e982812454 fixed indentation 2021-12-07 15:40:06 +07:00
sgschantz
e7d98edaa2 conforms to style guidelines, adds constants for relative height of key label 2021-12-06 11:49:29 +07:00
sgschantz
6a1803201f increase size of characters on key by 50% and clip long labels without ellipsis 2021-12-03 11:14:37 +07:00
Marc Durdin
d849c532de chore(mac): address review comments
* Make less WET
* Add comments
* Fix mixed up key labels
2020-11-24 08:27:37 +11:00
Marc Durdin
c8000c2d9c chore: cleanup 2020-11-24 08:24:30 +11:00
Marc Durdin
e32ab796bd feat(mac): Add support for "ISO" keyboard layouts
Fixes #2601.

This PR adds support for the 102nd key as found on European layouts. It
does not however reshape the Enter key and move the BKSLASH key, as that
is a much bigger job; functionally this makes it possible to press the
102nd key, which was the biggest gap.
2020-11-24 08:24:30 +11:00
Marc Durdin
4120cd0d65 fix(mac): osk shouldn't show base letters
Fixes #2345. The OSK shouldn't show base letters when
a Keyman keyboard is active that includes a visual
keyboard.
2019-12-04 12:12:08 +01:00
Randy Boring
27404bbcdc fix issue #1412 Crash displaying OSK in 10.7 by using older method of getting CGColorRef
remove warnings by comparing to constant string instead of other way round
2018-12-12 21:58:28 -06:00
Tom Bogle
ec811eb7f8 [Mac] Cherry-pick of commit to fix #1059 on stable-10.0
Avoid calls to unsupported selectors on old version of OS
2018-07-12 17:08:07 -04:00
Tom Bogle
28147b631c [Mac] [WIP] - Refactoring of target-action call from keyView 2018-07-03 10:14:23 -04:00
Tom Bogle
976d626671 [Mac] Added comment to explain ugly code. 2018-06-27 22:38:46 -04:00
Tom Bogle
12521fb7d2 [Mac] 894 - Oops, this is the actual fix 2018-06-27 15:10:38 -04:00
Tom Bogle
817d3e65c9 [Mac] Fixes #894 - Fixed invocation of keyAction (missing self param) 2018-06-27 15:06:29 -04:00
Tom Bogle
c840cedef9 [Mac] Prevent permanently hiding OSK when a menu is dropped down
This *might* possibly fix #894, but not likely
2018-06-27 01:32:18 -04:00
Tom Bogle
37c1201c7f [Mac] #894 - Added try/catch to prevent crash from key event Timer 2018-06-26 16:27:39 -04:00
Tom Bogle
be8cbe993f [Mac] Commented out NSLog statements added previously to debug #894 2018-06-19 14:36:23 -04:00
Tom Bogle
901a1f30fb [Mac] Fixes 894, Fixes 962 - Fixed timer problems in OSK
Ensured that timer is never instantiated for modifier keys, since they should never repeat. Made synchronizing more robust to ensure that there can never be timers simultaneously active (i.e., for two different keys on the same OSK). Removed deprecated finalize method that was never getting called anyway.
2018-06-19 14:22:52 -04:00
Tom Bogle
1164cfa48f [Mac] #894 - Use thread synchronization to prevent crash from timer event 2018-06-04 13:57:27 -04:00
Tom Bogle
fdf9475d7d Changed copy command to prevent copying dSYM file into dSYM file 2018-05-24 22:40:03 -04:00
Tom Bogle
87aa5057ef [Mac] Initial check-in to open-source repo 2017-08-10 13:11:52 +07:00