From 6da5dbc73d9226d8023a6ecbafb8a42aa5500e6b Mon Sep 17 00:00:00 2001 From: Felix Kaiser Date: Sun, 14 Nov 2021 23:10:53 -0800 Subject: [PATCH] Add #ifndef HID_HIDE_LAYOUT_PRAGMA_MESSAGE --- src/KeyboardLayouts/ImprovedKeylayouts.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/KeyboardLayouts/ImprovedKeylayouts.h b/src/KeyboardLayouts/ImprovedKeylayouts.h index 03b92a02..02eee8c6 100644 --- a/src/KeyboardLayouts/ImprovedKeylayouts.h +++ b/src/KeyboardLayouts/ImprovedKeylayouts.h @@ -51,9 +51,13 @@ enum KeyboardLeds : uint8_t { #ifndef HID_CUSTOM_LAYOUT #define HID_CUSTOM_LAYOUT #define LAYOUT_US_ENGLISH + #ifndef HID_HIDE_LAYOUT_PRAGMA_MESSAGE #pragma message "Using default ASCII layout for keyboard modules" + #endif #else + #ifndef HID_HIDE_LAYOUT_PRAGMA_MESSAGE #pragma message "Using custom layout for keyboard modules" + #endif #endif // Hut1_12v2.pdf