aboutsummaryrefslogtreecommitdiff
path: root/keyboards/converter/usb_usb/ble
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/usb_usb/ble')
-rw-r--r--keyboards/converter/usb_usb/ble/ble.c1
-rw-r--r--keyboards/converter/usb_usb/ble/ble.h3
-rw-r--r--keyboards/converter/usb_usb/ble/config.h13
-rw-r--r--keyboards/converter/usb_usb/ble/readme.md30
-rw-r--r--keyboards/converter/usb_usb/ble/rules.mk17
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 @@
1QMK BLE Adapter
2===============
3A small device that reads USB keyboard input and passes it on over Bluetooth LE HID.
4
5![Picture of Adapter](https://i.imgur.com/O3VwBBJ.png)
6
7Hardware
8--------
9The 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
11Schematic:
12![Schematic](https://i.imgur.com/s1Ia9We.png)
13
14Part 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
21Building and Flashing
22---------------------
23
24```
25make converter-usb_usb-ble
26```
27
28```
29make 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
2F_CPU = 8000000
3
4BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
5MOUSEKEY_ENABLE = no # Mouse keys
6EXTRAKEY_ENABLE = no # Audio control and System control
7CONSOLE_ENABLE = no # Console for debug
8COMMAND_ENABLE = no # Commands for debug and configuration
9NKRO_ENABLE = no # Enable N-Key Rollover
10BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
11RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
12AUDIO_ENABLE = no # Audio output
13
14BLUETOOTH_ENABLE = yes
15BLUETOOTH_DRIVER = AdafruitBLE
16
17LTO_ENABLE = yes