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 ee63d9feee1fd0b2f76e1777d58f676d10af7629..9e0623524aa6aa3406fab744014918df257668de 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 ee63d9feee1fd0b2f76e1777d58f676d10af7629..9e0623524aa6aa3406fab744014918df257668de 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 a7530a5e73ed426238b995bdb5f98281cb09bf9a..fae8e2ec0349933b8f6f07f0356b0bcd5cabea3d 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 b2308bc8ed6f6568200946ec809c93a17febb8bd..094544de9a2a8ddc0a2354d6e9640b44cd844240 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 a15ed86650575ff85eb2786bc881795bb6e2854c..28a506cf8ddd2e9c63a9409c1945e4947e623bbd 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 af543bb970b75949b87d5729ba911c510d224974..691076ecac333fefabc8e14b9f0ba3d445f9b0bd 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 cdb3a7dbe82ae2782433cbef3c7a453edf779a8a..cb671bfab766dd74146ba8775a8616c491510122 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 bb2cca192167155131a551cbbc75420e8a5517e5..d83c965fc5116d2060154dcdced0ed79c94f1132 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 df30a6c226bbe64f508f4b45191be6223ad88540..7c6a6d74d45a3475ba720730ef3247be032725a7 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 70775ffaebb3e00393878e2eef6d23604537b20a..cb787ba0c25bf59dba9df8b49926a235567a4eb3 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 825b6d3e5ba61bb6ab667fa4d0bfe5f8f90bd64a..af7affbb8365cd4d88ea9b0ef849c6474b8f95e0 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 29839712583c453670b470b10dae62644af6a02b..4c126bb3f3e269363ddf5a2b116ff99812ac375f 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 87908a1dcdb1baa93498f0e70556d6f47f4f2511..3caaee51e5ad953957e0dd4749cd9af13ebacaae 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 e42c5f14e83da6fa190c0a9d156a2592fb4f69e1..aac9be1022fe38ab2fa308fe77f7d5a31832ef6c 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 ecd00aced4a0612ae37863d6ee1c94deade401d3..31022ca5358b4dddd7217d4c8b72974607dd0890 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 31f75074643f9cd6da54e246029826a0de1f26de..9d4eaf74ee4af0920e02a293dce6750bfaa1b3f2 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 4191446e685ad8999b1b70b7ce19bd414ddbd2bf..54ba07d3d6d7780cb4818168297ba689c831ba7c 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 3738629ea7ed788fe4e9503cc7daf31eb4663c44..188c83345d1c4e9407c30b4885b20910f6ef19e1 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 7d87b8dd7650a9c6d1039b9aeb89113f242cc24c..3e13e8460677cf95e4dafd23f9ee5c9746dcddc4 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 e25f0ad4899e32219e5a7befab037dfedd8b58db..b4aa1a549cca84439525c6ef5fa29599ef15d4d3 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 8286b447a851afd039d17015df924c2a318e878f..5e695aec57f733103a450e17651db7c31508c889 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 b5efc1f59610febd326d0784876e7ec2c199ad3a..27c3a6df55088f7e420c662e03623052e67ef835 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 d6d5ab5cf4807c1209b14d659f41fb0e39275c2d..ef934024f7ef0930021e694a6121d83163fc670c 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 5ba449430951e1bbe4db2b4edc9f92243fe07cfb..2e0b26b397577af29c79bea05f8f65657b7de1d2 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 74867baf7f0bdb2825e1f0eb0dc139daf459ea0a..0936f6c27139d07f05b691f5f759cfaa54c0b648 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 ddf9df4593492950841870d3accc8775fd12c32c..575e826a9beeb425d298c4ed3367a240f4be0981 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 055557b3a4e5a37805b9056302f21c3593e706f3..0bb9ccbea9f4d70600362e528096e41d1682dffd 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 4f2103e31c095e7347ed8a6e815c9457f38185f5..df1ea1297b36eb945d6a7e02504716a7c4135cc4 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 7b0f3faa049f79c191fd9c0eee6386201908d8fe..4275e9d11982d3842479fa1c10c6fda481372f67 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 af1e63eb716814b4e9d322bd39e7f1e0d19f9929..731e6fbc9732415cc98e6e532c12e95940e28b57 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 4c0aab8c6295fc144ca7fda6abad2f9ac3195a21..98a2c662fa9ee07d96cff42d1e98385d70348b10 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 eec3009d8c38d3bad142f712e1f8a7be2d9ed7ed..de658eb93c224ae2f9f14f4943d6702b914ef14f 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 8d87e5b2fa987734a3a8bacc2e8f8b3c88f4bf99..92db3def6bb87819e35332b7f455c6d7278ffa21 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 dbed62172462184bae90022c79e2d267565976cc..3cb61cfde671088d79daf564e0d6be2a75f08c73 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 3ca93f4fd300adacc9c2b769da6701eebe9fb911..f4449ac7a08bcdbac6e1c590ad560af4a4723210 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 393166c4f4e7b1ea94a5dca00a395773c48c71d9..e559a154261a7bcb51c01aa0797fb6eda5611b6e 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 ef2ec42057914e28813ee9e5df163895a54d8b0f..58c086282c0e29daae58ec645a8a2b350923f205 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 0315ad280fc52c0200d0ae5068eb5010bd5c5c79..fc3a2bd0b27ffefc8034107acc8214a1011929b9 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 0315ad280fc52c0200d0ae5068eb5010bd5c5c79..fc3a2bd0b27ffefc8034107acc8214a1011929b9 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 76d009f29e633f57005f470707206198b2ade513..1213e7a8f2f1767f5d75c592853b575efa2956cd 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 824d4633ccdb555baf4aab1a49787c2129bd05ad..5d972dd48c059b238da064367627830d66c48305 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 456369d884c7391a72013b07b95d96fc1d6f44b4..490964f2727ba600c6d97cfd254ad488259294c2 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 604c00df9fca91b47e905db1b8a807b2e07a13d2..7b8de5510e5c26817728dcbf7464e5243a0428fb 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 604c00df9fca91b47e905db1b8a807b2e07a13d2..7b8de5510e5c26817728dcbf7464e5243a0428fb 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 ea9bfa60eb8e8a1424df52921f2fada3d06fc645..5d972dd48c059b238da064367627830d66c48305 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 54aaf775da040e7d380921276b400a06db4bd728..b608adcfc4ea952a346185d15426ea3045458750 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