summaryrefslogtreecommitdiff
path: root/hid/lib/drivers-avr/usb/keymap.h
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-22 06:47:47 +0300
committerMaxim Devaev <[email protected]>2022-07-22 06:47:47 +0300
commite46229e1d1ef6e34f75d3a87507fde3b6e1779b8 (patch)
treeae504abc5d9ba20ea52835dad56796a6b4589c0a /hid/lib/drivers-avr/usb/keymap.h
parentf277160396ae7267756f87a215b93a2b5bb7a989 (diff)
type fix
Diffstat (limited to 'hid/lib/drivers-avr/usb/keymap.h')
-rw-r--r--hid/lib/drivers-avr/usb/keymap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/lib/drivers-avr/usb/keymap.h b/hid/lib/drivers-avr/usb/keymap.h
index 5c885119..2a37b8d9 100644
--- a/hid/lib/drivers-avr/usb/keymap.h
+++ b/hid/lib/drivers-avr/usb/keymap.h
@@ -25,7 +25,7 @@
#include <HID-Project.h>
-KeyboardKeycode keymapUsb(uint8_t code) {
+uint8_t keymapUsb(uint8_t code) {
switch (code) {
case 1: return 4; // KeyA
case 2: return 5; // KeyB