aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-09-26lib/dome-key-map: Update for file MapGroup and loggingTeddy Wing
2018-09-24lib/dome-key-map: Simulate key pressesTeddy Wing
2018-09-24lib/dome-key-map: Add current mode deactivation functionalityTeddy Wing
2018-09-24HeadphoneKey: Get switching to mode workingTeddy Wing
* Update to latest dome-key-map, which handles in-mode internally using a `State` struct * Make a `State *` ivar to store the current dome-key-map state, and let it do the work of mode handling Currently doesn't handle exiting a mode, only entering one. But that last part actually does finally work now, yay! Still requires cleanup to get rid of the old `in_mode` handling.
2018-09-18Update `lib/dome-key-map` to latestTeddy Wing
Includes mode handling code.
2018-08-28Update 'dome-key-map' to latestTeddy Wing
2018-08-27Add 'dome-key-map' as a submoduleTeddy Wing
This is the Rust library part of the application, which will get linked into DomeKey as a static library.
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.
2018-08-07Add submodule for DDHidLib libraryTeddy Wing
This will hopefully make it easier to interface with `IOHIDLib` and get events from headphone buttons.