aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa/outputselect.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/lufa/outputselect.h')
-rw-r--r--tmk_core/protocol/lufa/outputselect.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/tmk_core/protocol/lufa/outputselect.h b/tmk_core/protocol/lufa/outputselect.h
index 7f7ed00b9..c4548e112 100644
--- a/tmk_core/protocol/lufa/outputselect.h
+++ b/tmk_core/protocol/lufa/outputselect.h
@@ -21,21 +21,11 @@ enum outputs {
21 21
22 OUTPUT_NONE, 22 OUTPUT_NONE,
23 OUTPUT_USB, 23 OUTPUT_USB,
24 OUTPUT_BLUETOOTH, 24 OUTPUT_BLUETOOTH
25
26 // backward compatibility
27 OUTPUT_USB_AND_BT
28}; 25};
29 26
30/**
31 * backward compatibility for BLUETOOTH_ENABLE, send to BT and USB by default
32 */
33#ifndef OUTPUT_DEFAULT 27#ifndef OUTPUT_DEFAULT
34# ifdef BLUETOOTH_ENABLE 28# define OUTPUT_DEFAULT OUTPUT_AUTO
35# define OUTPUT_DEFAULT OUTPUT_USB_AND_BT
36# else
37# define OUTPUT_DEFAULT OUTPUT_AUTO
38# endif
39#endif 29#endif
40 30
41void set_output(uint8_t output); 31void set_output(uint8_t output);