aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-11-22lib/dome-key-map: Update to latest, v0.1.0Teddy Wing
2018-11-22.gitmodules: Switch back to upstream DDHidLibTeddy Wing
My change to fix the import warning was merged into master.
2018-11-21Switch to a fork of DDHidLibTeddy Wing
Corrects this warning: DDHidLib/lib/DDHidQueue.m:27:9: warning: non-portable path to file '"DDHidEvent.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path] #import "DDHIdEvent.h" ^~~~~~~~~~~~~~ "DDHidEvent.h" 1 warning generated. I had made the change locally a long time ago, but it's now committed and published publicly.
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-11-05lib/dome-key-map: Update to latestTeddy Wing
Fixes parse error when the mappings file starts with blank lines or comment lines.
2018-11-05lib/dome-key-map: Update to latestTeddy Wing
2018-11-03lib/dome-key-map: Update to latestTeddy Wing
New trial encryption key.
2018-11-03lib/dome-key-map: Update to latest, good error messagesTeddy Wing
2018-10-30lib/dome-key-map: Update to include default mappingsTeddy Wing
2018-10-29lib/dome-key-map: Update to get `--audio` flag handlingTeddy Wing
2018-10-29lib/dome-key-map: Update to latestTeddy Wing
Includes a small Makefile change, removes audio playing functionality, and introduces a callback function argument that gets called when the current mode changes.
2018-10-29lib/dome-key-map: Update to latestTeddy Wing
Code cleanups, C function API cleaned up, audio, lots of under the hood code improvements.
2018-10-27lib/dome-key-map: Update for trial FFI functionTeddy Wing
2018-10-26lib/dome-key-map: Update to exit after help outputTeddy Wing
2018-10-26lib/dome-key-map: Update to include trial and command line updatesTeddy Wing
2018-10-24Add 'lib/AquaticPrime' submoduleTeddy Wing
Will be using the `CoreFoundation` library code to handle licensing for DomeKey. Set this up as a sparse checkout to only checkout the `Source/CoreFoundation/` path from the repository. Doesn't seem like this is going to carry over for other people who `git submodule init` though. Not sure how this works. Found these resources on how to set up a sparse checkout: - https://briancoyner.github.io/2013/06/05/git-sparse-checkout.html - https://stackoverflow.com/questions/6238590/set-git-submodule-to-shallow-clone-sparse-checkout Followed a Stack Overflow post by 'max630' (https://stackoverflow.com/users/2303202/max630) to set up the submodule as a sparse checkout: git init # I did not find a way to add submodule in 1 step without checking out git clone --depth=1 --no-checkout ../sub sub git submodule add ../sub sub git submodule absorbgitdirs # note there is no "submodule.sub.sparsecheckout" key git -C sub config core.sparseCheckout true # note quoted wildcards to avoid their expansion by shell echo 'foo/*' >>.git/modules/sub/info/sparse-checkout git submodule update --force --checkout sub (https://stackoverflow.com/questions/45688121/how-to-do-submodule-sparse-checkout-with-git/45689692#45689692) Ran the following commands to set up the sparse checkout submodule based on the instructions in the post: $ git clone --no-checkout https://github.com/bdrister/AquaticPrime.git lib/AquaticPrime Cloning into 'lib/AquaticPrime'... remote: Enumerating objects: 797, done. remote: Total 797 (delta 0), reused 0 (delta 0), pack-reused 797 Receiving objects: 100% (797/797), 829.07 KiB | 599.00 KiB/s, done. Resolving deltas: 100% (343/343), done. $ git submodule add https://github.com/bdrister/AquaticPrime.git lib/AquaticPrime Adding existing repo at 'lib/AquaticPrime' to the index $ git submodule absorbgitdirs Migrating git directory of 'lib/AquaticPrime' from '.../DomeKey/lib/AquaticPrime/.git' to '.../DomeKey/.git/modules/lib/AquaticPrime' $ git -C lib/AquaticPrime config core.sparsecheckout true $ echo 'Source/CoreFoundation/' > .git/modules/lib/AquaticPrime/info/sparse-checkout $ git submodule update --force --checkout lib/AquaticPrime
2018-10-21Use new name for `config_read_from_file()`Teddy Wing
This function was renamed.
2018-10-20lib/dome-key-map: Update for config file handlingTeddy Wing
Need to update `c_parse_args()` call to pass new third argument.
2018-10-18lib/dome-key-map: Update to get special media keysoTeddy Wing
Key actions like `<VolumeDown>`, `<Play>`, etc.
2018-10-06main: Free the config objectTeddy Wing
2018-10-06Parse command line arguments with the `dome-key-map` libraryTeddy Wing
2018-10-04lib/dome-key-map: Update to get command handlingTeddy Wing
2018-10-03lib/dome-key-map: Update to include latest `Action::Map` parsingTeddy Wing
Enables us to use special keys and modifier keys in action definitions.
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.