1
0
Fork 0

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
This commit is contained in:
Joel Challis 2022-02-26 03:20:57 +00:00 committed by GitHub
parent e793128991
commit 83a32b2574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 9 additions and 94 deletions

View file

@ -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

View file

@ -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

View file

@ -40,7 +40,6 @@
#define SOFT_SERIAL_PIN D0
#define USB_POLLING_INTERVAL_MS 1
#define MASTER_RIGHT
// RGB matrix support

View file

@ -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

View file

@ -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*/

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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

View file

@ -16,5 +16,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -16,5 +16,4 @@
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 12

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 */

View file

@ -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 */

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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) */

View file

@ -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 */

View file

@ -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 */

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -35,5 +35,4 @@
#define DIODE_DIRECTION COL2ROW
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 12

View file

@ -36,5 +36,3 @@
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_LIMIT_VAL 150
#endif
#define USB_POLLING_INTERVAL_MS 1

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -16,6 +16,4 @@
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -19,6 +19,4 @@
// Enable RGB Matrix
#define VIA_QMK_RGBLIGHT_ENABLE
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -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

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -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

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -22,6 +22,4 @@
// Enable RGB Matrix
#define VIA_QMK_RGBLIGHT_ENABLE
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -13,6 +13,6 @@
* 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 USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -13,6 +13,7 @@
* 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
// 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

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -15,5 +15,4 @@
*/
#pragma once
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4

View file

@ -18,5 +18,4 @@
// More layers
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 4