diff options
Diffstat (limited to 'keyboards/converter/usb_usb/ble')
-rw-r--r-- | keyboards/converter/usb_usb/ble/ble.c | 1 | ||||
-rw-r--r-- | keyboards/converter/usb_usb/ble/ble.h | 3 | ||||
-rw-r--r-- | keyboards/converter/usb_usb/ble/config.h | 13 | ||||
-rw-r--r-- | keyboards/converter/usb_usb/ble/readme.md | 30 | ||||
-rw-r--r-- | keyboards/converter/usb_usb/ble/rules.mk | 17 |
5 files changed, 64 insertions, 0 deletions
diff --git a/keyboards/converter/usb_usb/ble/ble.c b/keyboards/converter/usb_usb/ble/ble.c new file mode 100644 index 000000000..387eb8166 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/ble.c | |||
@@ -0,0 +1 @@ | |||
#include "ble.h" | |||
diff --git a/keyboards/converter/usb_usb/ble/ble.h b/keyboards/converter/usb_usb/ble/ble.h new file mode 100644 index 000000000..3dccc23a4 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/ble.h | |||
@@ -0,0 +1,3 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include QMK_KEYBOARD_H | ||
diff --git a/keyboards/converter/usb_usb/ble/config.h b/keyboards/converter/usb_usb/ble/config.h new file mode 100644 index 000000000..80e4968c4 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/config.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #undef PRODUCT | ||
4 | #define PRODUCT QMK BLE Adapter | ||
5 | |||
6 | // Turn off the mode leds on the BLE module | ||
7 | #define ADAFRUIT_BLE_ENABLE_MODE_LEDS 0 | ||
8 | #define ADAFRUIT_BLE_ENABLE_POWER_LED 0 | ||
9 | |||
10 | #define NO_ACTION_MACRO | ||
11 | #define NO_ACTION_FUNCTION | ||
12 | #define NO_ACTION_ONESHOT | ||
13 | |||
diff --git a/keyboards/converter/usb_usb/ble/readme.md b/keyboards/converter/usb_usb/ble/readme.md new file mode 100644 index 000000000..0ee7223fd --- /dev/null +++ b/keyboards/converter/usb_usb/ble/readme.md | |||
@@ -0,0 +1,30 @@ | |||
1 | QMK BLE Adapter | ||
2 | =============== | ||
3 | A small device that reads USB keyboard input and passes it on over Bluetooth LE HID. | ||
4 | |||
5 |  | ||
6 | |||
7 | Hardware | ||
8 | -------- | ||
9 | The hardware is relatively easy to assemble. Just follow the schematic and don't forget to [cut the VBUS jumper](https://www.pjrc.com/teensy/td_libs_USBHostShield_4a.jpg). | ||
10 | |||
11 | Schematic: | ||
12 |  | ||
13 | |||
14 | Part list: | ||
15 | * [Adafruit Feather 32u4 Bluefruit LE](https://www.adafruit.com/product/2829) | ||
16 | * [USB Host Mini](https://www.circuitsathome.com/arduino_usb_host_shield_projects/) | ||
17 | * [Pololu 5V Step-Up Voltage Regulator U3V12F5](https://www.pololu.com/product/2115) | ||
18 | * [Lithium Ion Battery - 3.7v 2000mAh](https://www.adafruit.com/product/2011) | ||
19 | * Some sort of switch to be able to turn it off | ||
20 | |||
21 | Building and Flashing | ||
22 | --------------------- | ||
23 | |||
24 | ``` | ||
25 | make converter-usb_usb-ble | ||
26 | ``` | ||
27 | |||
28 | ``` | ||
29 | make converter-usb_usb-ble-avrdude | ||
30 | ``` \ No newline at end of file | ||
diff --git a/keyboards/converter/usb_usb/ble/rules.mk b/keyboards/converter/usb_usb/ble/rules.mk new file mode 100644 index 000000000..596f71963 --- /dev/null +++ b/keyboards/converter/usb_usb/ble/rules.mk | |||
@@ -0,0 +1,17 @@ | |||
1 | # Processor frequency | ||
2 | F_CPU = 8000000 | ||
3 | |||
4 | BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
5 | MOUSEKEY_ENABLE = no # Mouse keys | ||
6 | EXTRAKEY_ENABLE = no # Audio control and System control | ||
7 | CONSOLE_ENABLE = no # Console for debug | ||
8 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
9 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
11 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
12 | AUDIO_ENABLE = no # Audio output | ||
13 | |||
14 | BLUETOOTH_ENABLE = yes | ||
15 | BLUETOOTH_DRIVER = AdafruitBLE | ||
16 | |||
17 | LTO_ENABLE = yes | ||