diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-04-03 21:06:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 21:06:40 -0400 |
commit | 27aa185222b709dc53a1478e46d6e04271dc199c (patch) | |
tree | fd6311aa6fb2b10fc01d2562e819817d798668b2 /tmk_core/protocol/lufa/bluetooth.h | |
parent | 4e51c1e3ca75c9abe45673866d026cc0f810a410 (diff) | |
parent | 3ac9259742bfd428f71c31dbf2bfedace2a7f91b (diff) |
Merge branch 'master' into master
Diffstat (limited to 'tmk_core/protocol/lufa/bluetooth.h')
-rw-r--r-- | tmk_core/protocol/lufa/bluetooth.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/bluetooth.h b/tmk_core/protocol/lufa/bluetooth.h index 78ece1cd0b..f4b2f6f8b1 100644 --- a/tmk_core/protocol/lufa/bluetooth.h +++ b/tmk_core/protocol/lufa/bluetooth.h @@ -62,4 +62,18 @@ void bluefruit_serial_send(uint8_t data); (usage == AC_REFRESH ? 0x0000 : \ (usage == AC_BOOKMARKS ? 0x0000 : 0))))))))))))))))))) -#endif
\ No newline at end of file +#define CONSUMER2RN42(usage) \ + (usage == AUDIO_MUTE ? 0x0040 : \ + (usage == AUDIO_VOL_UP ? 0x0010 : \ + (usage == AUDIO_VOL_DOWN ? 0x0020 : \ + (usage == TRANSPORT_NEXT_TRACK ? 0x0100 : \ + (usage == TRANSPORT_PREV_TRACK ? 0x0200 : \ + (usage == TRANSPORT_STOP ? 0x0400 : \ + (usage == TRANSPORT_STOP_EJECT ? 0x0800 : \ + (usage == TRANSPORT_PLAY_PAUSE ? 0x0080 : \ + (usage == AL_EMAIL ? 0x0200 : \ + (usage == AL_LOCAL_BROWSER ? 0x8000 : \ + (usage == AC_SEARCH ? 0x0400 : \ + (usage == AC_HOME ? 0x0100 : 0)))))))))))) + + #endif |