aboutsummaryrefslogtreecommitdiff
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix and update for AT32F415 (#24807)HorrorTroll9 days1-1/+1
|
* Azoteq - improve I2C behaviour while polling. (#24611)Dasky12 days2-32/+26
| | | | Co-authored-by: Stefan Kerkmann <[email protected]>
* Patch up issue when compile with APA102 driver (#24800)HorrorTroll2025-01-082-2/+2
|
* Move pointing device driver code (#24445)Dasky2024-10-2518-8/+497
| | | | Co-authored-by: Drashna Jaelre <[email protected]>
* [Core] `usb_device_state`: consolidate usb state handling across ↵Stefan Kerkmann2024-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementations (#24258) * usb_device_state: add idle_rate, led and protocol Previously all usb drivers and platform implementations (expect for our oddball atsam) tracked the same two global variables: - keyboard_protocol: to indicate if we are in report or boot protocol - keyboard_idle: for the idle_rate of the keyboard endpoint And a local variable that was exposed trough some indirection: - keyboard_led_state: for the currently set indicator leds (caps lock etc.) These have all been moved into the usb_device_state struct wich is accessible by getters and setters. This reduces code duplication and centralizes the state management across platforms and drivers. Signed-off-by: Stefan Kerkmann <[email protected]> * usb_device_state: reset protocol on reset The usb hid specification section 7.2.6 states: When initialized, all devices default to report protocol. However the host should not make any assumptions about the device’s state and should set the desired protocol whenever initializing a device. Thus on reset we should always do exactly that. Signed-off-by: Stefan Kerkmann <[email protected]> * keyboards: fix oversize warnings Signed-off-by: Stefan Kerkmann <[email protected]> --------- Signed-off-by: Stefan Kerkmann <[email protected]>
* Rename RGB and HSV structs (#24471)Ryan2024-10-123-5/+5
|
* WS2812 API rework (#24364)Ryan2024-10-062-13/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Begin WS2812 API rework * Move RGBW conversion, clean up color.h, fix RGBW for AVR bitbang * Formatting & update PS2AVRGB I2C driver (untested) * Tested ARM bitbang RGB+RGBW * Tested ARM SPI RGB - RGBW not working * Tested ARM PWM RGB+RGBW * Tested RP2040 PIO driver RGB+RGBW * Update RGBLight * Formatting * Fix BM60HSRGB rev2 * Fix oddforge/vea * Fix 1k and XD002 RGBLite * Fix model_m/mschwingen * Fix handwired/promethium * Rename `WS2812_LED_TOTAL` for BM60HSRGB * Fix work_louder boards * Fix dawn60 * Fix rgbkb/pan * Fix neson_design/700e and n6 * Fix ergodox_ez/shine * ergodox_ez/shine: invert indices for left half * Fix matrix/abelx * Fix matrix/m20add * Remove custom rgblight driver for matrix/noah - should be done with lighting layers * Fix LED indexes for RGBLight split * Rename `convert_rgb_to_rgbw()` to `ws2812_rgb_to_rgbw()` * Update WS2812 API docs * `ergodox_ez/shine`: simplify LED index calculation * LED/RGB Matrix: Add weak function for LED index resolution * Bandaid fix for RGB Matrix splits not using WS2812 * `steelseries/prime_plus`: redo custom RGBLight driver * Update keyboards/steelseries/prime_plus/rgblight_custom.c Co-authored-by: Dasky <[email protected]> --------- Co-authored-by: Dasky <[email protected]>
* Remove binary blobs from optical sensors. (#24428)Dasky2024-10-066-789/+61
| | | | | | | * remove pmw srom * remove adns9800 srom * Update drivers/sensors/pmw33xx_common.c
* Merge remote-tracking branch 'origin/master' into developQMK Bot2024-09-261-0/+2
|\
| * input_club/ergodox_infinity ST7565 call spi_stop (#24429)Eric2024-09-261-0/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-09-181-8/+10
|\|
| * Fix ADNS-9800 read (#24406)Dasky2024-09-181-8/+10
| |
* | Add LD7032 support to QP. (#20828)Dasky2024-09-183-0/+522
| | | | | | | | | | Co-authored-by: Nick Brassel <[email protected]> Co-authored-by: Sergey Vlasov <[email protected]>
* | Add ability to poweroff ADNS5050 sensor (#24223)Colin Kinloch2024-08-262-0/+16
|/ | | | | * Add ability to poweroff ADNS5050 sensor * ploopyco/trackball_nano: Poweroff ADNS5050 on suspend
* Normalise mouse keycodes (#23975)Ryan2024-07-031-1/+1
|
* Rename encoder pins defines (#24003)Ryan2024-07-031-9/+9
|
* SPI flash API cleanup, add async erase capability. (#23894)Nick Brassel2024-07-024-72/+178
|
* Change ADNS9800 and PMW33XX SROM uploads to opt in. (#24001)Dasky2024-06-272-1/+14
| | | Make SROM upload optional
* APA102: API rework (#23355)Ryan2024-06-132-18/+20
|
* GC9xxx LCD family drivers (GC9107 and GC9A01) (#23091)Fernando Birra2024-06-058-131/+469
| | | | | | | | | | | | Co-authored-by: Nick Brassel <[email protected]> Co-authored-by: jack <[email protected]> Co-authored-by: Joel Challis <[email protected]> Co-authored-by: フィルターペーパー <[email protected]> Co-authored-by: rookiebwoy <[email protected]> Fixup boardsource/equals (#23106) Fix make clean test:os_detection (#23112) Fix make clean test:os_detection (#23112)" Fixup boardsource/equals (#23106)"
* EEPROM: Don't erase if we don't have to. Adding eeprom_driver_format ↵Purdea Andrei2024-05-287-2/+48
| | | | abstraction. (#18332)
* Fix PS/2 Trackpoint mouse clicks (#22265) (#23694)Michael Büchler2024-05-211-0/+4
|
* Update GPIO expander API naming (#23375)Ryan2024-03-296-15/+29
|
* Add init function to RGBLight driver struct (#23076)Ryan2024-03-182-5/+7
|
* LED drivers: add support for IS31FL3236 (#23264)Ryan2024-03-174-0/+544
|
* IS31FL3729 updates (#23109)Ryan2024-02-224-450/+462
|
* [Bug] Fix pmw33xx sensor corruption on get-cpi call (#23116)Drashna Jaelre2024-02-201-0/+3
|
* Add encoder abstraction. (#21548)Nick Brassel2024-02-181-0/+213
|
* Update GPIO macro usages in core (#23093)Ryan2024-02-1839-207/+207
|
* [Driver] ILI9486 on Quantum Painter (#18521)Pablo Martínez2024-02-174-0/+352
| | | | Co-authored-by: Nick Brassel <[email protected]>
* Add RGB matrix & LED Matrix support for IS31FL3729 (#21944)HorrorTroll2024-02-174-0/+978
| | | | | Co-authored-by: Xelus22 <[email protected]> Co-authored-by: dexter93 <[email protected]>
* LED drivers: add support for shutdown pin (#23058)Ryan2024-02-1522-0/+132
| | | | | * LED drivers: add support for shutdown pin * Update candidate boards
* AW20216S: combine EN pin defines (#23067)Ryan2024-02-152-10/+12
|
* is31fl3741: split PWM and scaling buffers (#23049)Ryan2024-02-144-830/+1616
|
* LED drivers: update PWM register defines for `g_<driver>_leds` (#23052)Ryan2024-02-1217-2767/+4094
|
* LED drivers: create structs to hold PWM/scaling buffers (#22955)Ryan2024-02-1023-476/+657
|
* LED drivers: place I2C addresses into an array (#22975)Ryan2024-02-0940-1242/+1170
|
* Init pins for Analog Joystick sensor (#22985)Drashna Jaelre2024-01-301-0/+3
|
* Azoteq driver: Remove call to removed i2c function (#22966)burkfers2024-01-261-1/+0
|
* LED drivers: update I2C API usage (#22951)Ryan2024-01-2422-92/+92
|
* LED drivers: remove `write_pwm_buffer()` from public API (#22884)Ryan2024-01-2442-112/+92
|
* crique zidle fix (#22948)Dasky2024-01-231-3/+10
|
* I2C driver cleanup (#21273)David Hoelscher2024-01-175-18/+3
| | | | | * remove i2c_start and i2c_stop from i2c drivers * remove static i2c_address variable from chibios i2c driver
* i2c: rename read/write register functions (#22905)Ryan2024-01-168-42/+42
|
* LED drivers: remove PWM register offsets (#22897)Ryan2024-01-1324-458/+464
|
* Cirque reachable calibration aide (#22803)JohSchneider2024-01-131-0/+9
| | | | | Co-authored-by: Stefan Kerkmann <[email protected]> Co-authored-by: Johannes <[email protected]>
* LED drivers: switch to i2c_writeReg() (#22878)Ryan2024-01-1022-459/+168
|
* LED drivers: change `write_pwm_buffer()` return type to `void` (#22869)Ryan2024-01-1012-96/+36
|
* LED drivers: more formatting (#22865)Ryan2024-01-085-5/+26
|
* snled27351: change `write_register()` return type to `void` (#22825)Ryan2024-01-084-20/+8
|