summaryrefslogtreecommitdiff
path: root/hid
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-11-16 02:05:53 +0300
committerDevaev Maxim <[email protected]>2020-11-16 02:05:53 +0300
commit188de715153100806bc4a95f3888f6f03f1ede2f (patch)
treeb2555d2962f3568b4327467e192b76fcc8be21b6 /hid
parent7efff23ca4da87132169f8f98942cc6290e7cfd8 (diff)
shut up plz
Diffstat (limited to 'hid')
-rw-r--r--hid/patch.py1
-rw-r--r--hid/patches/shut-up.patch13
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)