diff options
author | Teddy Wing | 2018-10-07 05:48:00 +0200 |
---|---|---|
committer | Teddy Wing | 2018-10-07 06:00:42 +0200 |
commit | da03d2650a6240ef1364bce789f72cc48cb75807 (patch) | |
tree | 6ecbe1e408c22e78cf420f486598ab16442cd1f0 /lib/char_to_key_code.h | |
parent | 530e7424936822e41d4e4c19ee56dd1014011a8c (diff) | |
download | DomeKey-da03d2650a6240ef1364bce789f72cc48cb75807.tar.bz2 |
Try listening to Bluetooth headphone buttons
Second attempt at getting events from Bluetooth headphone buttons. This
time with some code from KillerDeMouches and Josh Guice.
The magic numbers make no sense to me. Would have loved to have
constants, but hypothesizing that maybe they were gathered from direct
input and event monitoring using Karabiner's event monitor.
Unfortunately, this code didn't work for me. I still have to try it on a
< 10.12 machine, as maybe it'll work there (_hopefully_, as there was
very scarce material online about how to do this). My next attempt is
going to be using `MPRemoteCommandCenter`. Hoping that will work, but
it's only going to be a solution for >= 10.12.
Diffstat (limited to 'lib/char_to_key_code.h')
0 files changed, 0 insertions, 0 deletions