From 83a32b257473c5dc9fbacd71a3c1470dde21ad84 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 26 Feb 2022 03:20:57 +0000 Subject: [PATCH] Remove 1k USB_POLLING_INTERVAL_MS config from keyboards and default-ish keymaps (#16448) * Remove 1k USB_POLLING_INTERVAL_MS config from keyboard level * Remove 1k USB_POLLING_INTERVAL_MS config from default|via keymaps --- keyboards/ai03/jp60/keymaps/default/config.h | 3 +-- keyboards/ai03/jp60/keymaps/via/config.h | 3 +-- keyboards/bastardkb/skeletyl/config.h | 1 - keyboards/bastardkb/tbkmini/config.h | 1 - keyboards/durgod/dgk6x/config.h | 1 - keyboards/durgod/k3x0/config.h | 2 -- keyboards/geekboards/macropad_v2/config.h | 1 - keyboards/gmmk/pro/config.h | 3 --- keyboards/handwired/marauder/config.h | 1 - keyboards/handwired/xealousbrown/config.h | 1 - keyboards/horrortroll/chinese_pcb/devil68_pro/config.h | 3 +-- keyboards/horrortroll/chinese_pcb/m63_rgb/config.h | 3 +-- keyboards/horrortroll/handwired_k552/config.h | 3 +-- keyboards/ianklug/grooveboard/config.h | 1 - keyboards/jadookb/jkb2/keymaps/via/config.h | 1 - keyboards/jadookb/jkb65/keymaps/via/config.h | 1 - keyboards/kinesis/kint2pp/config.h | 4 ---- keyboards/kinesis/kint36/config.h | 4 ---- keyboards/kinesis/kint41/config.h | 4 ---- keyboards/kprepublic/bm60hsrgb/rev2/config.h | 1 - keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h | 1 - keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h | 1 - keyboards/linworks/fave87/config.h | 3 +-- keyboards/linworks/whale75/config.h | 3 +-- keyboards/lz/erghost/config.h | 3 --- keyboards/mechlovin/infinity87/rev2/config.h | 3 --- keyboards/mechlovin/serratus/config.h | 3 --- keyboards/ploopyco/mouse/config.h | 3 --- keyboards/ploopyco/trackball/config.h | 3 --- keyboards/ploopyco/trackball_mini/config.h | 3 --- keyboards/ploopyco/trackball_nano/config.h | 3 --- keyboards/rgbkb/mun/config.h | 2 -- keyboards/rgbkb/sol3/config.h | 2 -- keyboards/sanctified/dystopia/config.h | 1 - keyboards/splitkb/kyria/keymaps/via/config.h | 2 -- keyboards/xelus/dharma/keymaps/default/config.h | 1 - keyboards/xelus/dharma/keymaps/via/config.h | 1 - keyboards/xelus/kangaroo/keymaps/default/config.h | 1 - keyboards/xelus/kangaroo/keymaps/via/config.h | 1 - keyboards/xelus/la_plus/keymaps/default/config.h | 2 -- keyboards/xelus/la_plus/keymaps/via/config.h | 2 -- keyboards/xelus/pachi/mini_32u4/keymaps/default/config.h | 1 - keyboards/xelus/pachi/mini_32u4/keymaps/via/config.h | 1 - keyboards/xelus/pachi/rev1/keymaps/default/config.h | 1 - keyboards/xelus/pachi/rev1/keymaps/via/config.h | 1 - keyboards/xelus/pachi/rgb/keymaps/default/config.h | 1 - keyboards/xelus/pachi/rgb/keymaps/via/config.h | 2 -- keyboards/xelus/rs60/keymaps/default/config.h | 1 - keyboards/xelus/rs60/keymaps/via/config.h | 1 - keyboards/xelus/valor/rev2/keymaps/default/config.h | 2 +- keyboards/xelus/valor/rev2/keymaps/via/config.h | 2 +- keyboards/xelus/valor_frl_tkl/keymaps/default/config.h | 1 - keyboards/xelus/valor_frl_tkl/keymaps/via/config.h | 1 - keyboards/xelus/xs60/keymaps/default/config.h | 1 - keyboards/xelus/xs60/keymaps/via/config.h | 1 - 55 files changed, 9 insertions(+), 94 deletions(-) diff --git a/keyboards/ai03/jp60/keymaps/default/config.h b/keyboards/ai03/jp60/keymaps/default/config.h index ee63d9feee1..9e0623524aa 100644 --- a/keyboards/ai03/jp60/keymaps/default/config.h +++ b/keyboards/ai03/jp60/keymaps/default/config.h @@ -16,6 +16,5 @@ #pragma once -/* Increase polling rates and scan quantity for improved performance */ -#define USB_POLLING_INTERVAL_MS 1 +/* Increase scan quantity for improved performance */ #define QMK_KEYS_PER_SCAN 12 diff --git a/keyboards/ai03/jp60/keymaps/via/config.h b/keyboards/ai03/jp60/keymaps/via/config.h index ee63d9feee1..9e0623524aa 100644 --- a/keyboards/ai03/jp60/keymaps/via/config.h +++ b/keyboards/ai03/jp60/keymaps/via/config.h @@ -16,6 +16,5 @@ #pragma once -/* Increase polling rates and scan quantity for improved performance */ -#define USB_POLLING_INTERVAL_MS 1 +/* Increase scan quantity for improved performance */ #define QMK_KEYS_PER_SCAN 12 diff --git a/keyboards/bastardkb/skeletyl/config.h b/keyboards/bastardkb/skeletyl/config.h index a7530a5e73e..fae8e2ec034 100644 --- a/keyboards/bastardkb/skeletyl/config.h +++ b/keyboards/bastardkb/skeletyl/config.h @@ -40,7 +40,6 @@ #define SOFT_SERIAL_PIN D0 -#define USB_POLLING_INTERVAL_MS 1 #define MASTER_RIGHT // RGB matrix support diff --git a/keyboards/bastardkb/tbkmini/config.h b/keyboards/bastardkb/tbkmini/config.h index b2308bc8ed6..094544de9a2 100644 --- a/keyboards/bastardkb/tbkmini/config.h +++ b/keyboards/bastardkb/tbkmini/config.h @@ -43,7 +43,6 @@ #define LOCKING_SUPPORT_ENABLE #define LOCKING_RESYNC_ENABLE #define F_SCL 400000L -#define USB_POLLING_INTERVAL_MS 1 #define MASTER_RIGHT // RGB matrix support diff --git a/keyboards/durgod/dgk6x/config.h b/keyboards/durgod/dgk6x/config.h index a15ed866505..28a506cf8dd 100644 --- a/keyboards/durgod/dgk6x/config.h +++ b/keyboards/durgod/dgk6x/config.h @@ -22,7 +22,6 @@ #define VENDOR_ID 0xD60D #define MANUFACTURER Hoksi Technology -#define USB_POLLING_INTERVAL_MS 1 #define WAIT_US_TIMER GPTD3 /* COL2ROW, ROW2COL*/ diff --git a/keyboards/durgod/k3x0/config.h b/keyboards/durgod/k3x0/config.h index af543bb970b..691076ecac3 100644 --- a/keyboards/durgod/k3x0/config.h +++ b/keyboards/durgod/k3x0/config.h @@ -23,7 +23,6 @@ #define VENDOR_ID 0xD60D #define MANUFACTURER Hoksi Technology -#define USB_POLLING_INTERVAL_MS 1 #define WAIT_US_TIMER GPTD3 /* key matrix size (rows in specific keyboard variant) */ @@ -41,7 +40,6 @@ /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 -// #define USB_POLLING_INTERVAL_MS 1 /* Bootmagic Lite key configuration */ #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE diff --git a/keyboards/geekboards/macropad_v2/config.h b/keyboards/geekboards/macropad_v2/config.h index cdb3a7dbe82..cb671bfab76 100644 --- a/keyboards/geekboards/macropad_v2/config.h +++ b/keyboards/geekboards/macropad_v2/config.h @@ -100,7 +100,6 @@ #define RGB_DISABLE_WHEN_USB_SUSPENDED #define WAIT_FOR_USB -#define USB_POLLING_INTERVAL_MS 1 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 3 diff --git a/keyboards/gmmk/pro/config.h b/keyboards/gmmk/pro/config.h index bb2cca19216..d83c965fc51 100644 --- a/keyboards/gmmk/pro/config.h +++ b/keyboards/gmmk/pro/config.h @@ -114,9 +114,6 @@ #define ENABLE_RGB_MATRIX_SOLID_SPLASH #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -/* 1000Hz USB polling - it's the default on stock firmware */ -#define USB_POLLING_INTERVAL_MS 1 - /* Send up to 4 key press events per scan */ #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/handwired/marauder/config.h b/keyboards/handwired/marauder/config.h index df30a6c226b..7c6a6d74d45 100644 --- a/keyboards/handwired/marauder/config.h +++ b/keyboards/handwired/marauder/config.h @@ -43,7 +43,6 @@ #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4, B0 } #define DIODE_DIRECTION COL2ROW #define LAYER_STATE_8BIT -#define USB_POLLING_INTERVAL_MS 1 //1000Hz polling rate #define QMK_KEYS_PER_SCAN 12 // moar gaming code #define RGB_DI_PIN D3 #ifdef RGB_DI_PIN diff --git a/keyboards/handwired/xealousbrown/config.h b/keyboards/handwired/xealousbrown/config.h index 70775ffaebb..cb787ba0c25 100644 --- a/keyboards/handwired/xealousbrown/config.h +++ b/keyboards/handwired/xealousbrown/config.h @@ -29,7 +29,6 @@ along with this program. If not, see . #define MATRIX_ROWS 5 #define MATRIX_COLS 13 #define DEBOUNCE 10 -#define USB_POLLING_INTERVAL_MS 1 /* layer optimization */ #define LAYER_STATE_8BIT #define MAX_LAYER 2 diff --git a/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h b/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h index 825b6d3e5ba..af7affbb836 100644 --- a/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h +++ b/keyboards/horrortroll/chinese_pcb/devil68_pro/config.h @@ -45,8 +45,7 @@ /* Forcing to use NKRO instead 6KRO */ #define FORCE_NKRO -/* Change USB Polling Rate to 1000hz and a larger keys per scan for elite gaming */ -#define USB_POLLING_INTERVAL_MS 1 +/* Change larger keys per scan for elite gaming */ #define QMK_KEYS_PER_SCAN 12 #ifdef RGB_MATRIX_ENABLE diff --git a/keyboards/horrortroll/chinese_pcb/m63_rgb/config.h b/keyboards/horrortroll/chinese_pcb/m63_rgb/config.h index 29839712583..4c126bb3f3e 100644 --- a/keyboards/horrortroll/chinese_pcb/m63_rgb/config.h +++ b/keyboards/horrortroll/chinese_pcb/m63_rgb/config.h @@ -45,8 +45,7 @@ /* Forcing to use NKRO instead 6KRO */ #define FORCE_NKRO -/* Change USB Polling Rate to 1000hz and a larger keys per scan for elite gaming */ -#define USB_POLLING_INTERVAL_MS 1 +/* Change larger keys per scan for elite gaming */ #define QMK_KEYS_PER_SCAN 12 #ifdef RGB_MATRIX_ENABLE diff --git a/keyboards/horrortroll/handwired_k552/config.h b/keyboards/horrortroll/handwired_k552/config.h index 87908a1dcdb..3caaee51e5a 100644 --- a/keyboards/horrortroll/handwired_k552/config.h +++ b/keyboards/horrortroll/handwired_k552/config.h @@ -46,8 +46,7 @@ /* Forcing to use NKRO instead 6KRO */ #define FORCE_NKRO -/* Change USB Polling Rate to 1000hz and a larger keys per scan for elite gaming */ -#define USB_POLLING_INTERVAL_MS 1 +/* Change larger keys per scan for elite gaming */ #define QMK_KEYS_PER_SCAN 12 /* EEPROM size */ diff --git a/keyboards/ianklug/grooveboard/config.h b/keyboards/ianklug/grooveboard/config.h index e42c5f14e83..aac9be1022f 100644 --- a/keyboards/ianklug/grooveboard/config.h +++ b/keyboards/ianklug/grooveboard/config.h @@ -154,5 +154,4 @@ along with this program. If not, see . //#define BOOTMAGIC_LITE_ROW 0 //#define BOOTMAGIC_LITE_COLUMN 0 -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/jadookb/jkb2/keymaps/via/config.h b/keyboards/jadookb/jkb2/keymaps/via/config.h index ecd00aced4a..31022ca5358 100644 --- a/keyboards/jadookb/jkb2/keymaps/via/config.h +++ b/keyboards/jadookb/jkb2/keymaps/via/config.h @@ -16,5 +16,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/jadookb/jkb65/keymaps/via/config.h b/keyboards/jadookb/jkb65/keymaps/via/config.h index 31f75074643..9d4eaf74ee4 100644 --- a/keyboards/jadookb/jkb65/keymaps/via/config.h +++ b/keyboards/jadookb/jkb65/keymaps/via/config.h @@ -16,5 +16,4 @@ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 12 diff --git a/keyboards/kinesis/kint2pp/config.h b/keyboards/kinesis/kint2pp/config.h index 4191446e685..54ba07d3d6d 100644 --- a/keyboards/kinesis/kint2pp/config.h +++ b/keyboards/kinesis/kint2pp/config.h @@ -41,10 +41,6 @@ #define IGNORE_MOD_TAP_INTERRUPT -// Reduce input latency by lowering the USB polling interval -// from its 10ms default to the 1ms minimum that USB 1.x (Full Speed) allows: -#define USB_POLLING_INTERVAL_MS 1 - // The Teensy 2++ consumes about 60 mA of current at its full speed of 16 MHz as // per https://www.pjrc.com/teensy/low_power.html #define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/kinesis/kint36/config.h b/keyboards/kinesis/kint36/config.h index 3738629ea7e..188c83345d1 100644 --- a/keyboards/kinesis/kint36/config.h +++ b/keyboards/kinesis/kint36/config.h @@ -59,10 +59,6 @@ #define IGNORE_MOD_TAP_INTERRUPT -// Reduce input latency by lowering the USB polling interval -// from its 10ms default to the 1ms minimum that USB 1.x (Full Speed) allows: -#define USB_POLLING_INTERVAL_MS 1 - // The Teensy 3.6 consumes about 80 mA of current at its full speed of 180 MHz: // https://forum.pjrc.com/threads/47256-What-is-the-power-consumption-of-the-Teensy-3-6 #define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/kinesis/kint41/config.h b/keyboards/kinesis/kint41/config.h index 7d87b8dd765..3e13e846067 100644 --- a/keyboards/kinesis/kint41/config.h +++ b/keyboards/kinesis/kint41/config.h @@ -86,10 +86,6 @@ #define IGNORE_MOD_TAP_INTERRUPT -// Reduce input latency by lowering the USB polling interval -// from its 10ms default to the 125μs minimum that USB 2.x (High Speed) allows: -#define USB_POLLING_INTERVAL_MS 1 - // The Teensy 4.1 consumes about 100 mA of current at its full speed of 600 MHz // as per https://www.pjrc.com/store/teensy41.html #define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/config.h b/keyboards/kprepublic/bm60hsrgb/rev2/config.h index e25f0ad4899..b4aa1a549cc 100644 --- a/keyboards/kprepublic/bm60hsrgb/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb/rev2/config.h @@ -44,7 +44,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define USB_POLLING_INTERVAL_MS 1 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 3 diff --git a/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h index 8286b447a85..5e695aec57f 100644 --- a/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h @@ -46,7 +46,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define USB_POLLING_INTERVAL_MS 1 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 3 diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h b/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h index b5efc1f5961..27c3a6df550 100644 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h +++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h @@ -44,7 +44,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define USB_POLLING_INTERVAL_MS 1 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h index d6d5ab5cf48..ef934024f7e 100644 --- a/keyboards/linworks/fave87/config.h +++ b/keyboards/linworks/fave87/config.h @@ -23,8 +23,7 @@ along with this program. If not, see . #define MANUFACTURER Lx3 #define PRODUCT FAVE-87 -/* Set 1 kHz polling rate and force USB NKRO */ -#define USB_POLLING_INTERVAL_MS 1 +/* Force USB NKRO */ #define FORCE_NKRO /* key matrix size */ diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index 5ba44943095..2e0b26b3975 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h @@ -23,8 +23,7 @@ along with this program. If not, see . #define MANUFACTURER Lx3 #define PRODUCT Whale-75 -/* Set 1 kHz polling rate and force USB NKRO */ -#define USB_POLLING_INTERVAL_MS 1 +/* Force USB NKRO */ #define FORCE_NKRO /* key matrix size */ diff --git a/keyboards/lz/erghost/config.h b/keyboards/lz/erghost/config.h index 74867baf7f0..0936f6c2713 100644 --- a/keyboards/lz/erghost/config.h +++ b/keyboards/lz/erghost/config.h @@ -46,9 +46,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define USB_POLLING_INTERVAL_MS 1 - - #define LED_NUM_LOCK_PIN D7 #define LED_CAPS_LOCK_PIN D6 #define LED_SCROLL_LOCK_PIN B4 diff --git a/keyboards/mechlovin/infinity87/rev2/config.h b/keyboards/mechlovin/infinity87/rev2/config.h index ddf9df45934..575e826a9be 100644 --- a/keyboards/mechlovin/infinity87/rev2/config.h +++ b/keyboards/mechlovin/infinity87/rev2/config.h @@ -36,9 +36,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define USB_POLLING_INTERVAL_MS 1 - - #define LED_NUM_LOCK_PIN D7 #define LED_CAPS_LOCK_PIN D6 #define LED_SCROLL_LOCK_PIN B4 diff --git a/keyboards/mechlovin/serratus/config.h b/keyboards/mechlovin/serratus/config.h index 055557b3a4e..0bb9ccbea9f 100644 --- a/keyboards/mechlovin/serratus/config.h +++ b/keyboards/mechlovin/serratus/config.h @@ -45,9 +45,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define USB_POLLING_INTERVAL_MS 1 - - #define LED_NUM_LOCK_PIN D7 #define LED_CAPS_LOCK_PIN D6 #define LED_SCROLL_LOCK_PIN B4 diff --git a/keyboards/ploopyco/mouse/config.h b/keyboards/ploopyco/mouse/config.h index 4f2103e31c0..df1ea1297b3 100644 --- a/keyboards/ploopyco/mouse/config.h +++ b/keyboards/ploopyco/mouse/config.h @@ -54,9 +54,6 @@ /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 -/* Much more so than a keyboard, speed matters for a mouse. So we'll go for as high - a polling rate as possible. */ -#define USB_POLLING_INTERVAL_MS 1 #define USB_MAX_POWER_CONSUMPTION 100 /* define if matrix has ghost (lacks anti-ghosting diodes) */ diff --git a/keyboards/ploopyco/trackball/config.h b/keyboards/ploopyco/trackball/config.h index 7b0f3faa049..4275e9d1198 100644 --- a/keyboards/ploopyco/trackball/config.h +++ b/keyboards/ploopyco/trackball/config.h @@ -44,9 +44,6 @@ #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION -/* Much more so than a keyboard, speed matters for a mouse. So we'll go for as high - a polling rate as possible. */ -#define USB_POLLING_INTERVAL_MS 1 #define USB_MAX_POWER_CONSUMPTION 100 /* Bootmagic Lite key configuration */ diff --git a/keyboards/ploopyco/trackball_mini/config.h b/keyboards/ploopyco/trackball_mini/config.h index af1e63eb716..731e6fbc973 100644 --- a/keyboards/ploopyco/trackball_mini/config.h +++ b/keyboards/ploopyco/trackball_mini/config.h @@ -45,9 +45,6 @@ #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION -/* Much more so than a keyboard, speed matters for a mouse. So we'll go for as high - a polling rate as possible. */ -#define USB_POLLING_INTERVAL_MS 1 #define USB_MAX_POWER_CONSUMPTION 100 /* Bootmagic Lite key configuration */ diff --git a/keyboards/ploopyco/trackball_nano/config.h b/keyboards/ploopyco/trackball_nano/config.h index 4c0aab8c629..98a2c662fa9 100644 --- a/keyboards/ploopyco/trackball_nano/config.h +++ b/keyboards/ploopyco/trackball_nano/config.h @@ -41,9 +41,6 @@ #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION -/* Much more so than a keyboard, speed matters for a mouse. So we'll go for as high - a polling rate as possible. */ -#define USB_POLLING_INTERVAL_MS 1 #define USB_MAX_POWER_CONSUMPTION 100 #define ADNS5050_SCLK_PIN B7 diff --git a/keyboards/rgbkb/mun/config.h b/keyboards/rgbkb/mun/config.h index eec3009d8c3..de658eb93c2 100644 --- a/keyboards/rgbkb/mun/config.h +++ b/keyboards/rgbkb/mun/config.h @@ -17,8 +17,6 @@ #define MANUFACTURER RGBKB #define PRODUCT Mün -#define USB_POLLING_INTERVAL_MS 1 - /* Matrix Configuration - Rows are doubled up */ #define MATRIX_ROWS 14 // Last pins reserved for encoder / touch encoder support diff --git a/keyboards/rgbkb/sol3/config.h b/keyboards/rgbkb/sol3/config.h index 8d87e5b2fa9..92db3def6bb 100644 --- a/keyboards/rgbkb/sol3/config.h +++ b/keyboards/rgbkb/sol3/config.h @@ -17,8 +17,6 @@ #define MANUFACTURER RGBKB #define PRODUCT Sol 3 -#define USB_POLLING_INTERVAL_MS 1 - /* Matrix Configuration - Rows are doubled up */ #define MATRIX_ROWS 12 // Last pins reserved for encoder / touch encoder support diff --git a/keyboards/sanctified/dystopia/config.h b/keyboards/sanctified/dystopia/config.h index dbed6217246..3cb61cfde67 100644 --- a/keyboards/sanctified/dystopia/config.h +++ b/keyboards/sanctified/dystopia/config.h @@ -35,5 +35,4 @@ #define DIODE_DIRECTION COL2ROW -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 12 diff --git a/keyboards/splitkb/kyria/keymaps/via/config.h b/keyboards/splitkb/kyria/keymaps/via/config.h index 3ca93f4fd30..f4449ac7a08 100644 --- a/keyboards/splitkb/kyria/keymaps/via/config.h +++ b/keyboards/splitkb/kyria/keymaps/via/config.h @@ -36,5 +36,3 @@ # define RGBLIGHT_VAL_STEP 8 # define RGBLIGHT_LIMIT_VAL 150 #endif - -#define USB_POLLING_INTERVAL_MS 1 diff --git a/keyboards/xelus/dharma/keymaps/default/config.h b/keyboards/xelus/dharma/keymaps/default/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/dharma/keymaps/default/config.h +++ b/keyboards/xelus/dharma/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/dharma/keymaps/via/config.h b/keyboards/xelus/dharma/keymaps/via/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/dharma/keymaps/via/config.h +++ b/keyboards/xelus/dharma/keymaps/via/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/kangaroo/keymaps/default/config.h b/keyboards/xelus/kangaroo/keymaps/default/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/kangaroo/keymaps/default/config.h +++ b/keyboards/xelus/kangaroo/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/kangaroo/keymaps/via/config.h b/keyboards/xelus/kangaroo/keymaps/via/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/kangaroo/keymaps/via/config.h +++ b/keyboards/xelus/kangaroo/keymaps/via/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/la_plus/keymaps/default/config.h b/keyboards/xelus/la_plus/keymaps/default/config.h index 393166c4f4e..e559a154261 100644 --- a/keyboards/xelus/la_plus/keymaps/default/config.h +++ b/keyboards/xelus/la_plus/keymaps/default/config.h @@ -16,6 +16,4 @@ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 - diff --git a/keyboards/xelus/la_plus/keymaps/via/config.h b/keyboards/xelus/la_plus/keymaps/via/config.h index ef2ec420579..58c086282c0 100644 --- a/keyboards/xelus/la_plus/keymaps/via/config.h +++ b/keyboards/xelus/la_plus/keymaps/via/config.h @@ -19,6 +19,4 @@ // Enable RGB Matrix #define VIA_QMK_RGBLIGHT_ENABLE -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 - diff --git a/keyboards/xelus/pachi/mini_32u4/keymaps/default/config.h b/keyboards/xelus/pachi/mini_32u4/keymaps/default/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/pachi/mini_32u4/keymaps/default/config.h +++ b/keyboards/xelus/pachi/mini_32u4/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/pachi/mini_32u4/keymaps/via/config.h b/keyboards/xelus/pachi/mini_32u4/keymaps/via/config.h index 0315ad280fc..fc3a2bd0b27 100644 --- a/keyboards/xelus/pachi/mini_32u4/keymaps/via/config.h +++ b/keyboards/xelus/pachi/mini_32u4/keymaps/via/config.h @@ -19,5 +19,4 @@ // 3 layers or else it will not fit in EEPROM #define DYNAMIC_KEYMAP_LAYER_COUNT 3 -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/pachi/rev1/keymaps/default/config.h b/keyboards/xelus/pachi/rev1/keymaps/default/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/pachi/rev1/keymaps/default/config.h +++ b/keyboards/xelus/pachi/rev1/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/pachi/rev1/keymaps/via/config.h b/keyboards/xelus/pachi/rev1/keymaps/via/config.h index 0315ad280fc..fc3a2bd0b27 100644 --- a/keyboards/xelus/pachi/rev1/keymaps/via/config.h +++ b/keyboards/xelus/pachi/rev1/keymaps/via/config.h @@ -19,5 +19,4 @@ // 3 layers or else it will not fit in EEPROM #define DYNAMIC_KEYMAP_LAYER_COUNT 3 -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/pachi/rgb/keymaps/default/config.h b/keyboards/xelus/pachi/rgb/keymaps/default/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/pachi/rgb/keymaps/default/config.h +++ b/keyboards/xelus/pachi/rgb/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/pachi/rgb/keymaps/via/config.h b/keyboards/xelus/pachi/rgb/keymaps/via/config.h index 76d009f29e6..1213e7a8f2f 100644 --- a/keyboards/xelus/pachi/rgb/keymaps/via/config.h +++ b/keyboards/xelus/pachi/rgb/keymaps/via/config.h @@ -22,6 +22,4 @@ // Enable RGB Matrix #define VIA_QMK_RGBLIGHT_ENABLE -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 - diff --git a/keyboards/xelus/rs60/keymaps/default/config.h b/keyboards/xelus/rs60/keymaps/default/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/rs60/keymaps/default/config.h +++ b/keyboards/xelus/rs60/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/rs60/keymaps/via/config.h b/keyboards/xelus/rs60/keymaps/via/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/rs60/keymaps/via/config.h +++ b/keyboards/xelus/rs60/keymaps/via/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/valor/rev2/keymaps/default/config.h b/keyboards/xelus/valor/rev2/keymaps/default/config.h index 824d4633ccd..5d972dd48c0 100644 --- a/keyboards/xelus/valor/rev2/keymaps/default/config.h +++ b/keyboards/xelus/valor/rev2/keymaps/default/config.h @@ -13,6 +13,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +#pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/valor/rev2/keymaps/via/config.h b/keyboards/xelus/valor/rev2/keymaps/via/config.h index 456369d884c..490964f2727 100644 --- a/keyboards/xelus/valor/rev2/keymaps/via/config.h +++ b/keyboards/xelus/valor/rev2/keymaps/via/config.h @@ -13,6 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +#pragma once // RGB Matrix #define VIA_QMK_RGBLIGHT_ENABLE @@ -20,5 +21,4 @@ // More layers #define DYNAMIC_KEYMAP_LAYER_COUNT 8 -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/valor_frl_tkl/keymaps/default/config.h b/keyboards/xelus/valor_frl_tkl/keymaps/default/config.h index 604c00df9fc..7b8de5510e5 100644 --- a/keyboards/xelus/valor_frl_tkl/keymaps/default/config.h +++ b/keyboards/xelus/valor_frl_tkl/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/valor_frl_tkl/keymaps/via/config.h b/keyboards/xelus/valor_frl_tkl/keymaps/via/config.h index 604c00df9fc..7b8de5510e5 100644 --- a/keyboards/xelus/valor_frl_tkl/keymaps/via/config.h +++ b/keyboards/xelus/valor_frl_tkl/keymaps/via/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/xs60/keymaps/default/config.h b/keyboards/xelus/xs60/keymaps/default/config.h index ea9bfa60eb8..5d972dd48c0 100644 --- a/keyboards/xelus/xs60/keymaps/default/config.h +++ b/keyboards/xelus/xs60/keymaps/default/config.h @@ -15,5 +15,4 @@ */ #pragma once -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4 diff --git a/keyboards/xelus/xs60/keymaps/via/config.h b/keyboards/xelus/xs60/keymaps/via/config.h index 54aaf775da0..b608adcfc4e 100644 --- a/keyboards/xelus/xs60/keymaps/via/config.h +++ b/keyboards/xelus/xs60/keymaps/via/config.h @@ -18,5 +18,4 @@ // More layers #define DYNAMIC_KEYMAP_LAYER_COUNT 8 -#define USB_POLLING_INTERVAL_MS 1 #define QMK_KEYS_PER_SCAN 4