shut up plz

This commit is contained in:
Devaev Maxim 2020-11-16 02:05:53 +03:00
parent 7efff23ca4
commit 188de71515
2 changed files with 14 additions and 0 deletions

View File

@ -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")

13
hid/patches/shut-up.patch Normal file
View File

@ -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)