Joel Challis
72f42d8e52
rgblight_task logic fixes ( #7214 )
2020-01-09 08:57:11 +09:00
zvecr
50c6d1e178
Convert backlight to follow driver rules pattern
2020-01-09 08:57:11 +09:00
Joel Challis
8c273cd0f2
Software backlight improvements ( #7255 )
...
* Update software backlight to precalculated duty patterns
* Update default backlight state to match avr pwm
* Move function to make diff look nicer
2020-01-09 08:57:11 +09:00
Joel Challis
2b15486272
Use task driven PWM for CTPC until ARM can provide automatic configuration ( #6928 )
...
* Use task driven PWM for CTPC until ARM can provide automatic configuration
* Update CTPC docs to cover backlight
2020-01-09 08:57:11 +09:00
Joel Challis
2c0173f0ff
Initial migration of software PWM backlight ( #6709 )
...
* Initial migration of software PWM backlight
* First pass at backlight driver docs
* Correct driver name in docs
* Run backlight_task when using BACKLIGHT_PINS
* Resolve backlight docs TODOs
2020-01-09 08:57:11 +09:00
Joel Challis
bac9fc60fe
Move tmk_core/common/backlight to quantum/backlight ( #6710 )
...
* Move tmk_core/common/backlight to quantum/backlight
* Add guards to backlight inclusion
* Add guards to backlight inclusion
* Update backlight guards on clueboard/60
* Use full paths to avoid vpath issues
2020-01-09 08:57:11 +09:00
Joel Challis
d1dc2d5389
ARM - Initial backlight support ( #6487 )
...
* Move AVR backlight to own file, add borrowed ARM implementation
* Tiny fix for backlight custom logic
* Remove duplicate board from rebase
* Fix f303 onekey example
* clang-format
* clang-format
* Remove backlight keymap debug
* Initial pass of ARM backlight docs
* Initial pass of ARM backlight docs - resolve todos
* fix rules validation logic
* Add f072 warning
* Add f072 warning
* tidy up breathing in backlight keymap
* tidy up breathing in backlight keymap
* add missing break to backlight keymap
2020-01-09 08:57:11 +09:00
Joel Challis
9db7651e7b
Disable usb on slave half to resolve random 'lockup' ( #7649 )
2020-01-09 08:57:11 +09:00
Joel Challis
b89cafbdec
SPLIT - Remove NO_USB_STARTUP_CHECK requirement for usb detection ( #7053 )
...
* Avoid NO_USB_STARTUP_CHECK - Disable USB as checks seem to enable it somehow
* Update quantum/split_common/split_util.c
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Also remove NO_USB_STARTUP_CHECK from vitamins_included/rev1
2020-01-09 08:57:11 +09:00
Joel Challis
80f8ad232b
ARM split - detect USB to select master/slave ( #6424 )
...
* Initial split refactor to allow usb master detection
* Add split USB detect docs
* Add SPLIT_USB_DETECT demo mode limitation
* fix rebase issues
* clang-format
2020-01-09 08:57:11 +09:00
Joel Challis
a15119dc6f
ARM split - Add bootmagic/magic keycodes for setting handedness ( #6545 )
...
* Add docs on bootmagic/magic keycodes for setting handedness
* Clang format fixes
* Maintain backwards compatibility
* Maintain backwards compatibility
2020-01-09 08:57:11 +09:00
Joel Challis
1f66fd1a3c
ARM split - Add support for dfu-util EE_HANDS flashing ( #6543 )
...
* Initial stab at some fake dfu-util-split-left behaviour
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Clang format fixes
* Fake eeprom init for both left and right hand
2020-01-09 08:57:11 +09:00
fauxpark
9d5e6c1c0a
Clean up ISSI driver includes ( #7734 )
...
* Clean up ISSI driver includes
* Missed an endif
2020-01-06 12:22:09 +09:00
yiancar
20a2ebfeb9
IS31FL3733 Dirty page fix ( #7079 )
...
* IS31FL3733 Dirty page fix
Function IS31FL3733_update_led_control_registers was never setting update register to false. As a result the led on/off page was being written every transaction even when it was not modified. This is ineficient and causes lots of bandwidth use.
-> Fix the IS31FL3733_update_led_control_registers.
-> After testing it was evident that failed I2C transactions could corrupt the Led on/off register.
-> Update IS31FL3733_write_pwm_buffer and IS31FL3733_write_register functions to return 0 upon succesful tranmission and 1 if any of the transmitions within the function fail.
-> Modify IS31FL3733_update_pwm_buffers function so if any of the IS31FL3733_write_pwm_buffer transuction fails, the g_led_control_registers_update_required register is set to true forcing a rewrite of the led on/off register in case it was corrupted.
* Minor comment update
* Upsie:)
* Update is31fl3733.c
* Return fix
* more return fix
* type change
* more boolian logic reversal:)
2020-01-06 12:22:09 +09:00
a_p_u_r_o
bf09fa6148
Remove CR when computing BOOTLOADER_SIZE. ( #7453 )
2020-01-06 12:21:46 +09:00
Florian Didron
2fe7d6aea2
fix: remove conditional macro wrapping WEBUSB_PAIR
2019-12-06 09:52:00 +09:00
Florian Didron
13e1dd3d53
Merge pull request #222 from zsa/staging
...
Firmware 15
2019-12-06 09:25:39 +09:00
Florian Didron
038cef3054
Merge pull request #223 from zsa/temp_staging
...
Update Staging branch
2019-12-06 09:20:41 +09:00
Florian Didron
52f5c344c4
feat: add get layer command
2019-12-05 16:03:55 -08:00
Florian Didron
0f319b48e6
fix: chibios handle disconnections gracefully
2019-12-05 16:03:55 -08:00
Florian Didron
9620bdbf00
fix: only change usb vesion spec if webusb is enabled
2019-12-05 16:03:55 -08:00
Florian Didron
52e4c04afd
chore: renaming of the get version cmds
2019-12-05 16:03:55 -08:00
Florian Didron
05ddbc6b6a
fix: lufa handle disconnections gracefully
2019-12-05 16:03:55 -08:00
Florian Didron
4ca9256118
feat: add fw version webusb cmd
2019-12-05 16:03:55 -08:00
Florian Didron
7c51cd7d99
chore: refactor webusb lp url command
2019-12-05 16:03:55 -08:00
Florian Didron
47fa4894bb
chore: unused var cleanup
2019-12-05 16:03:54 -08:00
Florian Didron
c80f69639b
feat: add landing page url command
2019-12-05 16:03:54 -08:00
Florian Didron
1f926d5431
feat: update examples + pairing process
2019-12-05 16:03:54 -08:00
Florian Didron
0e3739a213
fix: adds webusb include on test keymaps
2019-12-05 16:03:54 -08:00
Florian Didron
afdba6115a
feat: adds pairing key
2019-12-05 16:03:54 -08:00
Florian Didron
39c6035657
fix: point to ZSA's lufa fork and to the webusb compatible commit
2019-12-05 16:03:54 -08:00
Florian Didron
40f08c04c3
chore: indent fix
2019-12-05 16:03:54 -08:00
Florian Didron
817720fbdb
feat: webusb keymap examples
2019-12-05 16:03:53 -08:00
Florian Didron
368c2f1cdf
fix: run webusb task on chibios
2019-12-05 16:03:53 -08:00
Florian Didron
70cfe93f3e
chore: change manufacturer name to ZSA
2019-12-05 16:03:53 -08:00
Florian Didron
e1c12338a1
fix: MS OS 2.0 Property value
2019-12-05 16:03:53 -08:00
Florian Didron
ea6f99e05d
feat: adds webusb
2019-12-05 16:03:53 -08:00
Joel Challis
5400211a9a
Refactor ps2avrgb i2c ws2812 to core ( #7183 )
...
* Refactor ps2avrgb i2c ws2812 to core
* Refactor jj40 to use ws2812 i2c driver
* Refactor ps2avrgb template to use ws2812 i2c driver
* Add ws2812 stub files
* clang-format and driver config
* Add ws2812 driver docs
* Fix default config values
* Update tmk_core/protocol/vusb/main.c
Co-Authored-By: Drashna Jaelre <drashna@live.com >
2019-12-05 16:03:53 -08:00
Joel Challis
c1d468a5b7
Reduce duplication for ARM/AVR ws2812 RGB Matrix driver ( #7180 )
...
* Reduce duplication for ARM/AVR ws2812 rgb_matrix driver
* Reduce duplication for ARM/AVR ws2812 rgb_matrix driver - Fix setled_all use of r,g,b
2019-12-05 16:03:53 -08:00
just-another-jxliu
2a3cc8e273
Fix held key getting stuck when NKRO is toggled ( #6570 )
...
* Fix held key getting stuck when NKRO is toggled
* Updated file to latest qmk version and added fix to cases MAGIC_UNHOST_NKRO & MAGIC_HOST_NKRO as well.
* Revert merged quantum.c
2019-12-05 16:03:52 -08:00
Yang Li
f832395063
Add python-pip as package dependency for archlinux ( #7041 )
2019-12-05 16:03:52 -08:00
Joel Challis
4af7cbcc71
Move tmk_core/common/backlight to quantum/backlight ( #6710 )
...
* Move tmk_core/common/backlight to quantum/backlight
* Add guards to backlight inclusion
* Add guards to backlight inclusion
* Update backlight guards on clueboard/60
* Use full paths to avoid vpath issues
2019-12-05 16:03:52 -08:00
fauxpark
e54578a89c
Fix bug in do_code16() ( #6935 )
...
* Fix bug in `do_code16()`
* Remove qk_ mods functions
2019-12-05 16:03:52 -08:00
theVDude
616b97782a
Fix small hiccup in snake animation ( #6858 )
2019-12-05 16:03:52 -08:00
Deckweiss
70ce9e566e
Added uart config for using rn42 with at90usb1286 ( #6582 )
...
* Added uart config for using rn42 with at90usb1286
* Updated quantum/config_common.h
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Update quantum/config_common.h
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Update quantum/config_common.h
Co-Authored-By: fauxpark <fauxpark@gmail.com >
2019-12-05 16:03:52 -08:00
Joel Challis
67d52f67df
Add binary support to tinyprintf ( #7024 )
2019-12-05 16:03:52 -08:00
Joel Challis
9148b001ff
Port DEBUG_MATRIX_SCAN_RATE to core ( #7029 )
...
* Port DEBUG_MATRIX_SCAN_RATE to core
* Remove duplicate DEBUG_MATRIX_SCAN_RATE implementations
* Remove duplicate DEBUG_MATRIX_SCAN_RATE implementation from handwired/xealous
* Add console logic from ergodox_ez
2019-12-05 16:03:51 -08:00
Joel Challis
cb7d24d95d
Fix CONVERT_TO_PROTON_C_RXLED pins ( #7007 )
2019-12-05 16:03:51 -08:00
fauxpark
4dc4084c03
Reorder Raw HID interface to match what the USB spec expects ( #6801 )
2019-12-05 16:03:51 -08:00
fauxpark
9ac9fffc9c
Wrap util.h functions in extern "C" ( #6762 )
2019-12-05 16:03:51 -08:00