Added raw HID test code

master
Mark 2022-06-17 12:36:00 -07:00
parent 93abd09bbf
commit 51700d272e
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,15 @@
#include "layers.h"
#include "tapdance.h"
#include "raw_hid.h"
void raw_hid_receive(uint8_t *data, uint8_t length) {
raw_hid_send(data, length);
ergodox_right_led_1_on();
_delay_ms(50);
ergodox_right_led_1_off();
}
// Define custom keys
// (Must be done BEFORE keymaps)

View File

@ -1,6 +1,9 @@
# MCU name
MCU = atmega32u4
# Enable raw HID for bi-directional communication
RAW_ENABLE = yes
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina