pico hid refactoring

This commit is contained in:
Maxim Devaev
2023-08-14 14:42:54 +03:00
parent 69163ccfb1
commit f9ab76b247
5 changed files with 9 additions and 5 deletions

View File

@@ -25,7 +25,7 @@
#include "ph_types.h"
<%! import operator %>
u8 ph_usb_keymap(u8 key) {
inline u8 ph_usb_keymap(u8 key) {
switch (key) {
% for km in sorted(keymap, key=operator.attrgetter("mcu_code")):
% if km.usb_key.is_modifier: