| Age | Commit message (Collapse) | Author | 
|---|
|  |  | 
|  | I'm getting a SIGTERM or segfault when running the library code from
Rust, so let's turn off ARC just in case and handle memory management
manually. | 
|  | Allow this to work on earlier OSes. | 
|  | No reason to restrict the platforms this can run on. | 
|  | Those variants are deprecated starting in Mac OS 10.12. Use the new ones
for 10.12+ and the old ones otherwise. | 
|  | Test with Option-SoundDown, which opens the Sound System Preferences
panel. | 
|  |  | 
|  | Allow any special key to be simulated. | 
|  | Change from Objective-C-style indentation to simple tabbing indentation.
The `:`s weren't aligned with the first one since I added the assignment
(which maybe was in a different repository). Just don't bother with
colon alignment to keep the code under 80 columns. | 
|  | When I consolidated the key down and key up code in
289639a636881d79b76d260b775b7a6cf0b51f7b the key simulation stopped
working.
Fix this by altering the type of the array used to store the flag values
and putting them in a single array literal. | 
|  | Makes the edit-compile cycle faster. | 
|  |  | 
|  | Instead of hard-coding the 10.13 SDK. | 
|  | Once I got linking working, this confirms that the key simulator
function actually works.
Beef up the Makefile to enable us to properly link the Objective-C
library. | 
|  |  | 
|  | 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. | 
|  | Basic development build rule. | 
|  | Initialised with Xcode version 9.2 (9C40b). |