aboutsummaryrefslogtreecommitdiff
path: root/docs/config_options.md
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-09-07 00:41:24 +1000
committerDrashna Jaelre <drashna@live.com>2019-09-06 07:41:24 -0700
commit7ffed07310b4dcf53235bfd8a1700aefd0437f90 (patch)
treecd47b2474d0d8b10b1a62ef466cafd7a83cb81ab /docs/config_options.md
parentf8bf1d1b16848f2d82d4c61b6a8df3f22aa15859 (diff)
downloadqmk_firmware-7ffed07310b4dcf53235bfd8a1700aefd0437f90.tar.gz
qmk_firmware-7ffed07310b4dcf53235bfd8a1700aefd0437f90.zip
Make USB polling rate configurable with a define (#6668)
Diffstat (limited to 'docs/config_options.md')
-rw-r--r--docs/config_options.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/config_options.md b/docs/config_options.md
index d2ae56179..77e2368f3 100644
--- a/docs/config_options.md
+++ b/docs/config_options.md
@@ -91,8 +91,10 @@ This is a C header file that is one of the first things included, and will persi
91 * tries to keep switch state consistent with keyboard LED state 91 * tries to keep switch state consistent with keyboard LED state
92* `#define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)` 92* `#define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)`
93 * key combination that allows the use of magic commands (useful for debugging) 93 * key combination that allows the use of magic commands (useful for debugging)
94* `#define USB_MAX_POWER_CONSUMPTION` 94* `#define USB_MAX_POWER_CONSUMPTION 500`
95 * sets the maximum power (in mA) over USB for the device (default: 500) 95 * sets the maximum power (in mA) over USB for the device (default: 500)
96* `#define USB_POLLING_INTERVAL_MS 10`
97 * sets the USB polling rate in milliseconds for the keyboard, mouse, and shared (NKRO/media keys) interfaces
96* `#define F_SCL 100000L` 98* `#define F_SCL 100000L`
97 * sets the I2C clock rate speed for keyboards using I2C. The default is `400000L`, except for keyboards using `split_common`, where the default is `100000L`. 99 * sets the I2C clock rate speed for keyboards using I2C. The default is `400000L`, except for keyboards using `split_common`, where the default is `100000L`.
98 100