mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	Move TAPPING_TERM to data driven (#21296)
				
					
				
			Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
		
							parent
							
								
									4ae9bfd17a
								
							
						
					
					
						commit
						1e05bad1ba
					
				| @ -18,7 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| #pragma once | ||||
| 
 | ||||
| #define QUICK_TAP_TERM 0 | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| /* Select hand configuration */ | ||||
| #define MASTER_LEFT | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|   "split": { | ||||
|     "soft_serial_pin": "D2" | ||||
|   }, | ||||
|   "tapping": { | ||||
|     "term": 100 | ||||
|   }, | ||||
|   "rgblight": { | ||||
|     "hue_steps": 10 | ||||
|   }, | ||||
|  | ||||
| @ -18,7 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| #pragma once | ||||
| 
 | ||||
| #define QUICK_TAP_TERM 0 | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| /* Select hand configuration */ | ||||
| #define MASTER_LEFT | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|   "split": { | ||||
|     "soft_serial_pin": "D2" | ||||
|   }, | ||||
|   "tapping": { | ||||
|     "term": 100 | ||||
|   }, | ||||
|   "rgblight": { | ||||
|     "hue_steps": 10 | ||||
|   }, | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D0" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "processor": "atmega32u4", | ||||
|     "bootloader": "caterina", | ||||
|     "layout_aliases": { | ||||
|  | ||||
| @ -18,9 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -22,6 +22,3 @@ | ||||
| #define RGBLIGHT_EFFECT_BREATHING | ||||
| #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||
| #define RGBLIGHT_MODE_STATIC_GRADIENT | ||||
| 
 | ||||
| //#define RETRO_TAPPING
 | ||||
| #define TAPPING_TERM 175 | ||||
|  | ||||
| @ -7,6 +7,9 @@ | ||||
|         "brightness_steps": 8, | ||||
|         "led_count": 6 | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 175 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "E6" | ||||
|     }, | ||||
|  | ||||
| @ -7,6 +7,9 @@ | ||||
|         "brightness_steps": 8, | ||||
|         "led_count": 6 | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 175 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "E6" | ||||
|     }, | ||||
|  | ||||
| @ -7,6 +7,9 @@ | ||||
|         "brightness_steps": 8, | ||||
|         "led_count": 6 | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 175 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "E6" | ||||
|     }, | ||||
|  | ||||
| @ -28,6 +28,9 @@ | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "tapping": { | ||||
|     "term": 100 | ||||
|   }, | ||||
|   "processor": "atmega32u4", | ||||
|   "bootloader": "caterina", | ||||
|   "layouts": { | ||||
|  | ||||
| @ -1,37 +0,0 @@ | ||||
| /* Copyright 2022 Clickety Split Ltd.
 | ||||
|  *                https://clicketysplit.ca
 | ||||
|  * | ||||
|  * This program is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU General Public License as published by | ||||
|  * the Free Software Foundation, either version 2 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * | ||||
|  * This program is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU General Public License for more details. | ||||
|  * | ||||
|  * You should have received a copy of the GNU General Public License | ||||
|  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | ||||
|  */ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| /* disable action features */ | ||||
| //#define NO_ACTION_LAYER
 | ||||
| //#define NO_ACTION_TAPPING
 | ||||
| //#define NO_ACTION_ONESHOT
 | ||||
| 
 | ||||
| /*
 | ||||
|  * Feature disable options | ||||
|  *  These options are also useful to firmware size reduction. | ||||
|  */ | ||||
| 
 | ||||
| /* disable debug print */ | ||||
| // #define NO_DEBUG
 | ||||
| 
 | ||||
| /* disable print */ | ||||
| // #define NO_PRINT
 | ||||
| @ -22,10 +22,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| #define MATRIX_ROWS 5 | ||||
| #define MATRIX_COLS 16 | ||||
| 
 | ||||
| //#define DIODE_DIRECTION
 | ||||
| 
 | ||||
| #define TAPPING_TERM      175 | ||||
| 
 | ||||
| /*
 | ||||
|  * Feature disable options | ||||
|  *  These options are also useful to firmware size reduction. | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x660C", | ||||
|         "device_version": "1.0.0" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 175 | ||||
|     }, | ||||
|     "indicators": { | ||||
|         "caps_lock": "B6", | ||||
|         "on_state": 0 | ||||
|  | ||||
| @ -20,6 +20,3 @@ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
| #define LOCKING_RESYNC_ENABLE | ||||
| 
 | ||||
| /* Defining tapping term */ | ||||
| #define TAPPING_TERM 250 | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x4450", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 250 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["D0", "D4", "D1"], | ||||
|         "rows": ["D7", "C6"] | ||||
|  | ||||
| @ -31,9 +31,6 @@ | ||||
| 
 | ||||
| //#define RGBLIGHT_DISABLE_KEYCODES
 | ||||
| 
 | ||||
| // Tap dance term declaration
 | ||||
| #define TAPPING_TERM 300 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| 
 | ||||
|  | ||||
| @ -18,6 +18,9 @@ | ||||
|             {"pin_a": "B6", "pin_b": "B5"} | ||||
|         ] | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 300 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "A10" | ||||
|     }, | ||||
|  | ||||
| @ -5,6 +5,3 @@ | ||||
| 
 | ||||
| /* Locking resynchronize hack */ | ||||
| #define LOCKING_RESYNC_ENABLE | ||||
| 
 | ||||
| /* Tap dancing params */ | ||||
| #define TAPPING_TERM 250 | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x2020", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 250 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["D4", "C6", "D7", "E6", "B4"], | ||||
|         "rows": ["B3", "B2"] | ||||
|  | ||||
| @ -17,9 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| 
 | ||||
| #define TAPPING_TERM 400 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x3660", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 400 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["D2", "D3", "C6", "C7", "D5", "D4", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1"], | ||||
|         "rows": ["B0", "B1", "B2", "B3", "B7"] | ||||
|  | ||||
| @ -4,5 +4,3 @@ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
| #define LOCKING_RESYNC_ENABLE | ||||
| 
 | ||||
| #define TAPPING_TERM 100 | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x0000", | ||||
|         "device_version": "0.0.3" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["F5", "F6", "F7", "F0", "F1", "F4", "B6", "B5", "D7", "C7", "D6", "B7"], | ||||
|         "rows": ["D2", "D3", "D0", "D1"] | ||||
|  | ||||
| @ -22,6 +22,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| #define RCPC_KEYS KC_RCTL, KC_TRNS, KC_PGDN | ||||
| #define LSPO_KEYS KC_LSFT, KC_TRNS, KC_HOME | ||||
| #define LCPO_KEYS KC_LCTL, KC_TRNS, KC_END | ||||
| 
 | ||||
| /* Enable double tab */ | ||||
| #define TAPPING_TERM 175 | ||||
|  | ||||
| @ -18,6 +18,9 @@ | ||||
|     "levels": 5, | ||||
|     "breathing": true | ||||
|   }, | ||||
|   "tapping": { | ||||
|     "term": 175 | ||||
|   }, | ||||
|   "processor": "at90usb1286", | ||||
|   "bootloader": "halfkay", | ||||
|   "layouts": { | ||||
|  | ||||
| @ -17,7 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #define TAPPING_TERM 500 | ||||
| #define PERMISSIVE_HOLD | ||||
| 
 | ||||
| /*
 | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x6942", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 500 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["A8", "A9", "B14", "B12", "B13", "B15", "B3", "B11", "A4", "A5", "A6", "A7", "B0", "B1", "B10"], | ||||
|         "rows": ["B5", "B6", "B7", "B9", "B8"] | ||||
|  | ||||
| @ -17,9 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| 
 | ||||
| #define TAPPING_TERM 400 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x6060", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 400 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["B2", "B1", "F6", "F4"], | ||||
|         "rows": ["D1", "D4", "C6", "D7", "E6"] | ||||
|  | ||||
| @ -22,7 +22,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| /* Locking resynchronize hack */ | ||||
| #define LOCKING_RESYNC_ENABLE | ||||
| 
 | ||||
| #define TAPPING_TERM 500 | ||||
| #define PERMISSIVE_HOLD | ||||
| 
 | ||||
| /*
 | ||||
|  | ||||
| @ -7,6 +7,9 @@ | ||||
|         "pid": "0x6465", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 500 | ||||
|     }, | ||||
|     "diode_direction": "COL2ROW", | ||||
|     "features": { | ||||
|         "bootmagic": false, | ||||
|  | ||||
| @ -17,5 +17,3 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #define MOUSEKEY_INTERVAL 32 | ||||
| 
 | ||||
| #define TAPPING_TERM 175 | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x002A", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 175 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["B10", "B1", "B0", "B15", "A8", "B3", "B4", "B5", "B6", "B7", "B8", "B9"], | ||||
|         "rows": ["A6", "A5", "A4", "A3", "A2"] | ||||
|  | ||||
| @ -17,5 +17,3 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #define MOUSEKEY_INTERVAL 32 | ||||
| 
 | ||||
| #define TAPPING_TERM 175 | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x002B", | ||||
|         "device_version": "0.0.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 175 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["B10", "B1", "B0", "B15", "A8", "B3", "B4", "B5", "B14", "A0", "B8", "B9"], | ||||
|         "rows": ["A6", "A5", "A4", "A3", "A2"] | ||||
|  | ||||
| @ -17,9 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| //define maximum duration of hold required to register a tap vs hold default is 200
 | ||||
| #define TAPPING_TERM 150 //reduce time required to register a held key
 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|     "pid": "0x6060", | ||||
|     "device_version": "0.0.1" | ||||
|   }, | ||||
|   "tapping": { | ||||
|     "term": 150 | ||||
|   }, | ||||
|   "matrix_pins": { | ||||
|     "cols": ["B0", "D0", "D5", "B6", "D4", "C7", "F7", "F6", "F5", "F4", "F1", "F0"], | ||||
|     "rows": ["B5", "B4", "D7", "D6"] | ||||
|  | ||||
| @ -3,8 +3,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #define TAPPING_TERM 150 | ||||
| 
 | ||||
| #ifdef AUDIO_ENABLE | ||||
|   #define AUDIO_PIN A5 | ||||
|   #define AUDIO_PIN_ALT A4 | ||||
|  | ||||
| @ -9,6 +9,9 @@ | ||||
|       "device_version": "0.2.1", | ||||
|       "force_nkro": true | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 150 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|       "cols": ["A2", "A1", "A0", "B8", "B13", "B14", "B15", "B9", "B10", "B11", "B3", "B2", "B1", "B0"], | ||||
|       "rows": ["B7", "B6", "B5", "B4"] | ||||
|  | ||||
| @ -31,7 +31,6 @@ | ||||
| /* Locking resynchronize hack */ | ||||
| #define LOCKING_RESYNC_ENABLE | ||||
| 
 | ||||
| #define TAPPING_TERM 500 | ||||
| #define PERMISSIVE_HOLD | ||||
| 
 | ||||
| // RGB Stuff
 | ||||
|  | ||||
| @ -6,6 +6,9 @@ | ||||
|     "rgblight": { | ||||
|         "led_count": 39 | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 500 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "B0" | ||||
|     }, | ||||
|  | ||||
| @ -20,7 +20,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| #pragma once | ||||
| 
 | ||||
| #define QUICK_TAP_TERM 0 | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| #define SERIAL_SLAVE_BUFFER_LENGTH  ((MATRIX_ROWS)/2) | ||||
| #define SERIAL_MASTER_BUFFER_LENGTH ((MATRIX_ROWS)/2) | ||||
|  | ||||
| @ -11,6 +11,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "rgblight": { | ||||
|         "hue_steps": 10 | ||||
|     }, | ||||
|  | ||||
| @ -20,7 +20,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| #pragma once | ||||
| 
 | ||||
| #define QUICK_TAP_TERM 0 | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| #define SPLIT_LAYER_STATE_ENABLE | ||||
| #define SPLIT_LED_STATE_ENABLE | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "rgblight": { | ||||
|         "hue_steps": 10 | ||||
|     }, | ||||
|  | ||||
| @ -47,5 +47,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| //#define NO_ACTION_LAYER
 | ||||
| //#define NO_ACTION_TAPPING
 | ||||
| //#define NO_ACTION_ONESHOT
 | ||||
| 
 | ||||
| #define TAPPING_TERM    100 | ||||
|  | ||||
| @ -13,6 +13,9 @@ | ||||
|         "brightness_steps": 8, | ||||
|         "led_count": 40 | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "F0" | ||||
|     }, | ||||
|  | ||||
| @ -52,5 +52,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| //#define EE_HANDS
 | ||||
| #define I2C_MASTER_LEFT | ||||
| //#define I2C_MASTER_RIGHT
 | ||||
| 
 | ||||
| #define TAPPING_TERM    120 | ||||
|  | ||||
| @ -25,6 +25,9 @@ | ||||
|         "led_count": 9, | ||||
|         "split": true | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "F0" | ||||
|     }, | ||||
|  | ||||
| @ -16,8 +16,5 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| */ | ||||
| #pragma once | ||||
| 
 | ||||
| /* Tap interval for tap dance */ | ||||
| #define TAPPING_TERM 400 | ||||
| 
 | ||||
| /* Oneshot interval */ | ||||
| #define ONESHOT_TIMEOUT 5000 | ||||
|  | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x3777", | ||||
|         "device_version": "0.1.0" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 400 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["B5", "C6", "D4"], | ||||
|         "rows": ["B4", "E6", "D7", "B3", "B2", "B6"] | ||||
|  | ||||
| @ -27,8 +27,6 @@ | ||||
| #define RGBLIGHT_EFFECT_ALTERNATING | ||||
| #define RGBLIGHT_EFFECT_TWINKLE | ||||
| 
 | ||||
| #define TAPPING_TERM 250 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -18,6 +18,9 @@ | ||||
|         "brightness_steps": 8, | ||||
|         "led_count": 3 | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 250 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "B7" | ||||
|     }, | ||||
|  | ||||
| @ -16,8 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| /* joystick support */ | ||||
| #ifdef JOYSTICK_ENABLE | ||||
| #   define JOYSTICK_AXIS_COUNT 2 | ||||
|  | ||||
| @ -28,6 +28,9 @@ | ||||
|             } | ||||
|         } | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "processor": "atmega32u4", | ||||
|     "bootloader": "caterina", | ||||
|     "layouts": { | ||||
|  | ||||
| @ -1,18 +0,0 @@ | ||||
|  /* Copyright 2021 Domanic Calleja
 | ||||
|   * | ||||
|   * This program is free software: you can redistribute it and/or modify | ||||
|   * it under the terms of the GNU General Public License as published by | ||||
|   * the Free Software Foundation, either version 2 of the License, or | ||||
|   * (at your option) any later version. | ||||
|   * | ||||
|   * This program is distributed in the hope that it will be useful, | ||||
|   * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|   * GNU General Public License for more details. | ||||
|   * | ||||
|   * You should have received a copy of the GNU General Public License | ||||
|   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | ||||
|   */ | ||||
| #pragma once | ||||
| 
 | ||||
| #define TAPPING_TERM 100 | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "processor": "atmega32u4", | ||||
|     "bootloader": "caterina", | ||||
|     "layouts": { | ||||
|  | ||||
| @ -1,18 +0,0 @@ | ||||
|  /* Copyright 2021 Domanic Calleja
 | ||||
|   *  | ||||
|   * This program is free software: you can redistribute it and/or modify  | ||||
|   * it under the terms of the GNU General Public License as published by  | ||||
|   * the Free Software Foundation, either version 2 of the License, or  | ||||
|   * (at your option) any later version.  | ||||
|   *  | ||||
|   * This program is distributed in the hope that it will be useful,  | ||||
|   * but WITHOUT ANY WARRANTY; without even the implied warranty of  | ||||
|   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  | ||||
|   * GNU General Public License for more details.  | ||||
|   *  | ||||
|   * You should have received a copy of the GNU General Public License  | ||||
|   * along with this program.  If not, see <http://www.gnu.org/licenses/>. 
 | ||||
|   */  | ||||
| #pragma once | ||||
| 
 | ||||
| #define TAPPING_TERM 100 | ||||
| @ -8,6 +8,9 @@ | ||||
|         "pid": "0x4C53", | ||||
|         "device_version": "30.3.1" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "matrix_pins": { | ||||
|         "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"], | ||||
|         "rows": ["B7", "B3", "B2", "B1", "B0"] | ||||
|  | ||||
| @ -13,11 +13,6 @@ | ||||
| /* set the tapping term for glidepoint pad to register a tap click */ | ||||
| //#define CIRQUE_PINNACLE_TAPPING_TERM 0 // This is set to 0 to disable it
 | ||||
| 
 | ||||
| /* TAPPING_TERM value is used for the CIRQUE_PINNACLE_TAPPING_TERM as well by default
 | ||||
|  * defining it this way allows us to easily modify it with DYNAMIC_TAPPING_TERM_ENABLE | ||||
|  */ | ||||
| #define TAPPING_TERM 0 | ||||
| 
 | ||||
| /* spi config */ | ||||
| #define SPI_DRIVER SPID1 | ||||
| #define SPI_SCK_PIN A5 | ||||
|  | ||||
| @ -29,6 +29,9 @@ | ||||
|         "led_count": 3, | ||||
|         "sleep": true | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 0 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "A3" | ||||
|     }, | ||||
|  | ||||
| @ -19,10 +19,6 @@ | ||||
| /* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */ | ||||
| #define DIP_SWITCH_PINS { A0 } | ||||
| 
 | ||||
| /* TAPPING_TERM value is used for the CIRQUE_PINNACLE_TAPPING_TERM as well by default
 | ||||
|  * defining it this way allows us to easily modify it with DYNAMIC_TAPPING_TERM_ENABLE | ||||
|  */ | ||||
| #define TAPPING_TERM 0 | ||||
| #define CIRQUE_PINNACLE_TAP_ENABLE | ||||
| #define POINTING_DEVICE_GESTURES_SCROLL_ENABLE | ||||
| 
 | ||||
|  | ||||
| @ -42,6 +42,9 @@ | ||||
|             "twinkle": true | ||||
|         } | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 0 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "B5" | ||||
|     }, | ||||
|  | ||||
| @ -18,9 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| #define AUDIO_PIN C6 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
|  | ||||
| @ -20,6 +20,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D0" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "rgblight": { | ||||
|         "led_count": 20, | ||||
|         "split_count": [10, 10] | ||||
|  | ||||
| @ -18,9 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| #define AUDIO_PIN C6 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
|  | ||||
| @ -20,6 +20,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D0" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "rgblight": { | ||||
|         "led_count": 24, | ||||
|         "led_map": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12], | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -19,6 +19,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| /* define tapping term */ | ||||
| #define TAPPING_TERM 120 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D2" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 120 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -18,9 +18,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| 
 | ||||
| #define TAPPING_TERM 150 | ||||
| 
 | ||||
| #define EE_HANDS | ||||
| 
 | ||||
| #ifdef IOS_DEVICE_ENABLE | ||||
|  | ||||
| @ -24,6 +24,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D3" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 150 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "B3" | ||||
|     }, | ||||
|  | ||||
| @ -19,6 +19,9 @@ | ||||
|     "split": { | ||||
|         "soft_serial_pin": "D3" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 150 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "B7" | ||||
|     }, | ||||
|  | ||||
| @ -16,9 +16,6 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| 
 | ||||
| #define TAPPING_TERM 400 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "bootmagic": { | ||||
|         "matrix": [1, 0] | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 400 | ||||
|     }, | ||||
|     "processor": "atmega32u4", | ||||
|     "bootloader": "caterina", | ||||
|     "layouts": { | ||||
|  | ||||
| @ -1,5 +1,3 @@ | ||||
| #pragma once | ||||
| 
 | ||||
| #define TAPPING_TERM 100 | ||||
| 
 | ||||
| #define TAP_CODE_DELAY 10 | ||||
|  | ||||
| @ -28,6 +28,9 @@ | ||||
|             } | ||||
|         } | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 100 | ||||
|     }, | ||||
|     "processor": "atmega32u4", | ||||
|     "bootloader": "caterina", | ||||
|     "layouts": { | ||||
|  | ||||
| @ -17,8 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #define TAPPING_TERM      175 | ||||
| 
 | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
| /* Locking resynchronize hack */ | ||||
|  | ||||
| @ -16,6 +16,9 @@ | ||||
|     "backlight": { | ||||
|         "pin": "B7" | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 175 | ||||
|     }, | ||||
|     "processor": "atmega32u4", | ||||
|     "bootloader": "atmel-dfu", | ||||
|     "community_layouts": ["60_ansi", "60_iso"], | ||||
|  | ||||
| @ -33,5 +33,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| //#define NO_ACTION_ONESHOT
 | ||||
| 
 | ||||
| #define QUICK_TAP_TERM 0 | ||||
| #define TAPPING_TERM 132 | ||||
| #define TAPPING_LAYER_TERM 90 | ||||
|  | ||||
| @ -12,6 +12,9 @@ | ||||
|             {"pin_a": "B5", "pin_b": "B6"} | ||||
|         ] | ||||
|     }, | ||||
|     "tapping": { | ||||
|         "term": 132 | ||||
|     }, | ||||
|     "ws2812": { | ||||
|         "pin": "D3" | ||||
|     }, | ||||
|  | ||||
| @ -34,5 +34,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| //#define NO_ACTION_ONESHOT
 | ||||
| 
 | ||||
| #define QUICK_TAP_TERM 0 | ||||
| #define TAPPING_TERM 132 | ||||
| #define TAPPING_LAYER_TERM 90 | ||||
|  | ||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ryan
						Ryan