diff options
| author | Teddy Wing | 2018-10-14 02:55:14 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-10-14 05:32:15 +0200 | 
| commit | d5f7ca0e39fb965f392a0dfebd0bb7044b9dc5a6 (patch) | |
| tree | 4263f480bb73acbe5ddcdf73c72a8ab095d122a2 /test.c | |
| parent | 0f509e12d9ce3930ae600e0eacc2d683686272f4 (diff) | |
| download | dome_key_event_source_simulator-d5f7ca0e39fb965f392a0dfebd0bb7044b9dc5a6.tar.bz2 | |
Test code to press the "play" media key
Based on code from Albert https://stackoverflow.com/users/133374/albert
and Nick Sweeting https://stackoverflow.com/users/2156113/nick-sweeting
on Stack Overflow:
- https://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac/11048135#11048135
- https://stackoverflow.com/questions/10459085/cocoa-simulate-macbook-upper-keys-multimedia-keys/50574159#50574159
Simulates a key press of the "play" media key. Going to adapt this to a
generic function.
Diffstat (limited to 'test.c')
0 files changed, 0 insertions, 0 deletions
