aboutsummaryrefslogtreecommitdiffstats
path: root/lib/char_to_key_code.m
AgeCommit message (Collapse)Author
2018-11-05Remove lib/char_to_key_code.*Teddy Wing
We don't need these functions any more now that key simulation is handled by the Rust library. The files can be safely removed.
2018-08-27Add char_to_key_code.h header fileTeddy Wing
Make a corresponding header file for `char_to_key_code.m`. This enables us to include those functions in other source files.
2018-08-27char_to_key_code.m: Change loop index type to `int`Teddy Wing
Fix the following warning from Xcode's analyzer: char_to_key_code.m:62:49: Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' Since `NSNumber` `numberWithInt` takes an `int`, change `i` to `int`.
2018-08-27char_to_key_code.m: Import CarbonTeddy Wing
The TIS functions etc. are in Carbon, which needs to be imported.
2018-08-27Add char_to_key_code.mTeddy Wing
This file includes functions for getting a `CGKeyCode` from a character reference. Copied from Stack Overflow by Théo Winterhalter.