aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 24724ab0b650160e076cfa3495e5caa6f3c4a722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DomeKey Event Source Simulator
==============================

A Mac library that simulates NX keys, as defined in
[`/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/hidsystem/ev_keymap.h`][1].

This makes it possible to simulate media keys, for example, and other special
function-row keys.

The library provides a C interface for compatibility with non-Objective-C code.


## Building
Run the following to build static library `libdome_key_event_source_simulator.a`
in Xcode’s DerivedData path:

	$ make build-release

The library is designed to work on Mac OS X 10.6 and later.


## License
Copyright © 2018 Teddy Wing. Licensed under the Mozilla Public License v. 2.0
(see the included LICENSE file).


[1]: https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-86.1/IOHIDSystem/IOKit/hidsystem/ev_keymap.h
[2]: https://domekey.teddywing.com/