summaryrefslogtreecommitdiff
path: root/keyboard/hhkb/config.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-21 15:44:33 +0900
committertmk <nobody@nowhere>2013-03-21 15:44:33 +0900
commit2b08a150a41e25e87362436b7307bb1be35529f3 (patch)
treee176fafe0e7723612f7fb34b88105ea892f35404 /keyboard/hhkb/config.h
parent8580c8d291a432d5004c46321aa3c1b1626cdadd (diff)
parentb2a19328ad35f51dcc9cef7c4d2801acd143582a (diff)
Merge branch 'add_build_options'
Diffstat (limited to 'keyboard/hhkb/config.h')
-rw-r--r--keyboard/hhkb/config.h30
1 files changed, 18 insertions, 12 deletions
diff --git a/keyboard/hhkb/config.h b/keyboard/hhkb/config.h
index ef2958981c..e34d9a6ba1 100644
--- a/keyboard/hhkb/config.h
+++ b/keyboard/hhkb/config.h
@@ -71,18 +71,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* tap count needed for toggling a feature */
#define TAPPING_TOGGLE 5
-/* PS/2 mouse */
-#ifdef PS2_MOUSE_ENABLE
+
/*
-# define PS2_CLOCK_PORT PORTF
-# define PS2_CLOCK_PIN PINF
-# define PS2_CLOCK_DDR DDRF
-# define PS2_CLOCK_BIT 0
-# define PS2_DATA_PORT PORTF
-# define PS2_DATA_PIN PINF
-# define PS2_DATA_DDR DDRF
-# define PS2_DATA_BIT 1
-*/
-#endif
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_KEYMAP
+//#define NO_ACTION_OVERLAY
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+//#define NO_ACTION_MACRO
+//#define NO_ACTION_FUNCTION
#endif