From 806cd392e70b81bbefdc06f111d2562ead4094ba Mon Sep 17 00:00:00 2001 From: Morton Jonuschat Date: Thu, 13 Feb 2020 19:30:32 -0800 Subject: [osx_neo2] Bugfixes and improvements to Ergodox macOS Neo2 keymap (#8154) * Use TAPPING_TERM constant (and redefine value to 200ms) * change TAPPING_TOGGLE to 2 to require two taps to lock in layer 4 * add support for Shift-Command 3/4/5 key combinations that are used in macOS Catalina * avoid false positive tap detecion for RMOD3 when the whole sequence of pressing RMOD3, tapping another key and releasing RMOD3 took less than TAPPING_TERM milliseconds. * replace SEND_STRING with tap_code()/tap_code16(), saving ~860 bytes in compiled firmware size. --- layouts/community/ergodox/osx_neo2/config.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 layouts/community/ergodox/osx_neo2/config.h (limited to 'layouts/community/ergodox/osx_neo2/config.h') diff --git a/layouts/community/ergodox/osx_neo2/config.h b/layouts/community/ergodox/osx_neo2/config.h new file mode 100644 index 0000000000..faa79da026 --- /dev/null +++ b/layouts/community/ergodox/osx_neo2/config.h @@ -0,0 +1,7 @@ +#pragma once + +#undef TAPPING_TERM +#define TAPPING_TERM 200 + +#undef TAPPING_TOGGLE +#define TAPPING_TOGGLE 2 -- cgit v1.2.3