Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 1k USB_POLLING_INTERVAL_MS config from keyboards and default-ish keymaps #16448

Merged
merged 2 commits into from
Feb 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions keyboards/ai03/jp60/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions keyboards/ai03/jp60/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion keyboards/bastardkb/skeletyl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

#define SOFT_SERIAL_PIN D0

#define USB_POLLING_INTERVAL_MS 1
#define MASTER_RIGHT

// RGB matrix support
Expand Down
1 change: 0 additions & 1 deletion keyboards/bastardkb/tbkmini/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/durgod/dgk6x/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down
2 changes: 0 additions & 2 deletions keyboards/durgod/k3x0/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/geekboards/macropad_v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions keyboards/gmmk/pro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/marauder/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/xealousbrown/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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
Expand Down
3 changes: 1 addition & 2 deletions keyboards/horrortroll/chinese_pcb/devil68_pro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions keyboards/horrortroll/chinese_pcb/m63_rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions keyboards/horrortroll/handwired_k552/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 0 additions & 1 deletion keyboards/ianklug/grooveboard/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define BOOTMAGIC_LITE_ROW 0
//#define BOOTMAGIC_LITE_COLUMN 0

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
1 change: 0 additions & 1 deletion keyboards/jadookb/jkb2/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
1 change: 0 additions & 1 deletion keyboards/jadookb/jkb65/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@

#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 12
4 changes: 0 additions & 4 deletions keyboards/kinesis/kint2pp/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions keyboards/kinesis/kint36/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions keyboards/kinesis/kint41/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/kprepublic/bm60hsrgb/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions keyboards/linworks/fave87/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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 */
Expand Down
3 changes: 1 addition & 2 deletions keyboards/linworks/whale75/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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 */
Expand Down
3 changes: 0 additions & 3 deletions keyboards/lz/erghost/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* 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
Expand Down
3 changes: 0 additions & 3 deletions keyboards/mechlovin/infinity87/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions keyboards/mechlovin/serratus/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* 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
Expand Down
3 changes: 0 additions & 3 deletions keyboards/ploopyco/mouse/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down
3 changes: 0 additions & 3 deletions keyboards/ploopyco/trackball/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 0 additions & 3 deletions keyboards/ploopyco/trackball_mini/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 0 additions & 3 deletions keyboards/ploopyco/trackball_nano/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/rgbkb/mun/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/rgbkb/sol3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/sanctified/dystopia/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@

#define DIODE_DIRECTION COL2ROW

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 12
2 changes: 0 additions & 2 deletions keyboards/splitkb/kyria/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_LIMIT_VAL 150
#endif

#define USB_POLLING_INTERVAL_MS 1
1 change: 0 additions & 1 deletion keyboards/xelus/dharma/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
1 change: 0 additions & 1 deletion keyboards/xelus/dharma/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
1 change: 0 additions & 1 deletion keyboards/xelus/kangaroo/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
1 change: 0 additions & 1 deletion keyboards/xelus/kangaroo/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
2 changes: 0 additions & 2 deletions keyboards/xelus/la_plus/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@

#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

2 changes: 0 additions & 2 deletions keyboards/xelus/la_plus/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@
// Enable RGB Matrix
#define VIA_QMK_RGBLIGHT_ENABLE

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

1 change: 0 additions & 1 deletion keyboards/xelus/pachi/mini_32u4/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
1 change: 0 additions & 1 deletion keyboards/xelus/pachi/mini_32u4/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion keyboards/xelus/pachi/rev1/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
1 change: 0 additions & 1 deletion keyboards/xelus/pachi/rev1/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion keyboards/xelus/pachi/rgb/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
2 changes: 0 additions & 2 deletions keyboards/xelus/pachi/rgb/keymaps/via/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@
// Enable RGB Matrix
#define VIA_QMK_RGBLIGHT_ENABLE

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

1 change: 0 additions & 1 deletion keyboards/xelus/rs60/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4
Loading