]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/protocol/bluefruit/bluefruit.c
usb_hid: Update arduino cores to 1.8.13
[max/tmk_keyboard.git] / tmk_core / protocol / bluefruit / bluefruit.c
index cf26b83dfff3693c8dd89514db8823cef21abb94..7f7d06253b0e9ceb8d4fcb864ab95567a3222a39 100644 (file)
@@ -150,25 +150,25 @@ static void send_system(uint16_t data)
 +-------------------------------------+-------+
 */
 #define CONSUMER2BLUEFRUIT(usage) \
-    (usage == AUDIO_MUTE           ? 0x0000  : \
-    (usage == AUDIO_VOL_UP         ? 0x1000  : \
-    (usage == AUDIO_VOL_DOWN       ? 0x2000  : \
-    (usage == TRANSPORT_NEXT_TRACK ? 0x0002  : \
-    (usage == TRANSPORT_PREV_TRACK ? 0x0004  : \
-    (usage == TRANSPORT_STOP       ? 0x0010  : \
-    (usage == TRANSPORT_STOP_EJECT ? 0x0000  : \
-    (usage == TRANSPORT_PLAY_PAUSE ? 0x4000  : \
-    (usage == AL_CC_CONFIG         ? 0x0000  : \
-    (usage == AL_EMAIL             ? 0x0000  : \
-    (usage == AL_CALCULATOR        ? 0x0000  : \
-    (usage == AL_LOCAL_BROWSER     ? 0x0000  : \
-    (usage == AC_SEARCH            ? 0x0400  : \
-    (usage == AC_HOME              ? 0x0100  : \
-    (usage == AC_BACK              ? 0x0000  : \
-    (usage == AC_FORWARD           ? 0x0000  : \
-    (usage == AC_STOP              ? 0x0000  : \
-    (usage == AC_REFRESH           ? 0x0000  : \
-    (usage == AC_BOOKMARKS         ? 0x0000  : 0)))))))))))))))))))
+    (usage == AUDIO_MUTE              ? 0x0000  : \
+    (usage == AUDIO_VOL_UP            ? 0x1000  : \
+    (usage == AUDIO_VOL_DOWN          ? 0x2000  : \
+    (usage == TRANSPORT_NEXT_TRACK    ? 0x0002  : \
+    (usage == TRANSPORT_PREV_TRACK    ? 0x0004  : \
+    (usage == TRANSPORT_STOP          ? 0x0010  : \
+    (usage == TRANSPORT_STOP_EJECT    ? 0x0000  : \
+    (usage == TRANSPORT_PLAY_PAUSE    ? 0x4000  : \
+    (usage == APPLAUNCH_CC_CONFIG     ? 0x0000  : \
+    (usage == APPLAUNCH_EMAIL         ? 0x0000  : \
+    (usage == APPLAUNCH_CALCULATOR    ? 0x0000  : \
+    (usage == APPLAUNCH_LOCAL_BROWSER ? 0x0000  : \
+    (usage == APPCONTROL_SEARCH       ? 0x0400  : \
+    (usage == APPCONTROL_HOME         ? 0x0100  : \
+    (usage == APPCONTROL_BACK         ? 0x0000  : \
+    (usage == APPCONTROL_FORWARD      ? 0x0000  : \
+    (usage == APPCONTROL_STOP         ? 0x0000  : \
+    (usage == APPCONTROL_REFRESH      ? 0x0000  : \
+    (usage == APPCONTROL_BOOKMARKS    ? 0x0000  : 0)))))))))))))))))))
 
 static void send_consumer(uint16_t data)
 {