diff options
Diffstat (limited to 'hid')
-rw-r--r-- | hid/patch.py | 1 | ||||
-rw-r--r-- | hid/patches/shut-up.patch | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/hid/patch.py b/hid/patch.py index 2e6213b0..a6ad1ce5 100644 --- a/hid/patch.py +++ b/hid/patch.py @@ -39,3 +39,4 @@ _patch(_get_pkg_path("framework-arduino-avr"), "patches/get-plugged-endpoint.pat _libs = _get_libs() if "HID-Project" in _libs: _patch(_libs["HID-Project"], "patches/absmouse.patch") + _patch(_libs["HID-Project"], "patches/shut-up.patch") diff --git a/hid/patches/shut-up.patch b/hid/patches/shut-up.patch new file mode 100644 index 00000000..2c05526a --- /dev/null +++ b/hid/patches/shut-up.patch @@ -0,0 +1,13 @@ +diff -u -r a/src/KeyboardLayouts/ImprovedKeylayouts.h b/src/KeyboardLayouts/ImprovedKeylayouts.h +--- a/src/KeyboardLayouts/ImprovedKeylayouts.h 2019-07-13 21:16:23.000000000 +0300 ++++ b/src/KeyboardLayouts/ImprovedKeylayouts.h 2020-11-16 01:54:47.700726338 +0300 +@@ -51,9 +51,6 @@ + #ifndef HID_CUSTOM_LAYOUT + #define HID_CUSTOM_LAYOUT + #define LAYOUT_US_ENGLISH +- #pragma message "Using default ASCII layout for keyboard modules" +-#else +- #pragma message "Using custom layout for keyboard modules" + #endif + + #if defined(LAYOUT_US_ENGLISH) |