378 Commits (e1307cc3a71e8f23c6f6c337764d6c854da009a6)

Author SHA1 Message Date
Kyle McCreery eac0f6d4c9
Cirque Attenuation Setting (#17342) 4 years ago
Jamal Bouajjaj 2bddffeaec
IS31FL3737 Global Current Setting (#17420) 4 years ago
Stefan Kerkmann fe680a8568
[Core] Split ChibiOS usart split driver in protocol and hardware driver part (#16669) 4 years ago
Nick Brassel 999b91fbd9
SPI Bugfix for ChibiOS 21.11.1 -- also rollback AW20216 mode change issue. (#17371) 4 years ago
jack d2abfaeacd
Fixup Pimoroni trackball code (#17335) 4 years ago
Xelus22 af84772a5f
initial 24lc32a (#16990) 4 years ago
Andrew Dunai ecce9900c9
Improve PS/2 mouse performance (#17111) 4 years ago
trwnh 9e2fe4eff6
Make SPI Mode configurable and change default mode to 3 (#17263) 4 years ago
trwnh b554e4b612
Change AW20216 SPI Mode from 0 to 3, to fix RGB LEDs on GMMK Pro (#17262) 4 years ago
Drashna Jaelre f090881aeb
[Feature] Add support for multiple switchs/solenoids to Haptic Feedback engine (#15657) 4 years ago
QMK Bot 478f83f711 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Kyle McCreery c199514372
[Bug] Updated Cirque Pinnacle SPI driver to read data correctly (#17074) 4 years ago
uqs 690dc4bdaf
Add support for multiple sensors to pmw3360 (#15996) 4 years ago
QMK Bot 88028dd982 Merge remote-tracking branch 'origin/master' into develop 4 years ago
leah-splitkb 18e56902c9
Fix external flash on AVR (#16851) 4 years ago
Nick Brassel 1f2b1dedcc
Quantum Painter (#10174)
* Install dependencies before executing unit tests.

* Split out UTF-8 decoder.

* Fixup python formatting rules.

* Add documentation for QGF/QFF and the RLE format used.

* Add CLI commands for converting images and fonts.

* Add stub rules.mk for QP.

* Add stream type.

* Add base driver and comms interfaces.

* Add support for SPI, SPI+D/C comms drivers.

* Include <qp.h> when enabled.

* Add base support for SPI+D/C+RST panels, as well as concrete implementation of ST7789.

* Add support for GC9A01.

* Add support for ILI9341.

* Add support for ILI9163.

* Add support for SSD1351.

* Implement qp_setpixel, including pixdata buffer management.

* Implement qp_line.

* Implement qp_rect.

* Implement qp_circle.

* Implement qp_ellipse.

* Implement palette interpolation.

* Allow for streams to work with either flash or RAM.

* Image loading.

* Font loading.

* QGF palette loading.

* Progressive decoder of pixel data supporting Raw+RLE, 1-,2-,4-,8-bpp monochrome and palette-based images.

* Image drawing.

* Animations.

* Font rendering.

* Check against 256 colours, dump out the loaded palette if debugging enabled.

* Fix build.

* AVR is not the intended audience.

* `qmk format-c`

* Generation fix.

* First batch of docs.

* More docs and examples.

* Review comments.

* Public API documentation.
4 years ago
QMK Bot ca161fbbd9 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Gompa 0c8109a1ac
fix typo in ps2 set_defaults (#16767) 4 years ago
Simon dc9eb21332
add the ability to change the pwm frequency for the IS31FL3737B (#16718) 4 years ago
QMK Bot 98e783cc3c
Format code according to conventions (#16686) 4 years ago
Ryan 9ee2effe8e
HD44780 driver rework (#16370) 4 years ago
Ryan 2d9c3f9a89
Add SN74x154 driver and convert AL1 custom matrix (#16331) 4 years ago
Ryan d412854e37
analog.[ch]: remove unnecessary includes (#16471) 4 years ago
QMK Bot 25ba9b41c1
Format code according to conventions (#16421) 4 years ago
QMK Bot 63646e8906
Format code according to conventions (#16322) 4 years ago
Joy Lee 71c0b97bce
Added external spi flash driver. (#15419) 4 years ago
Joel Challis 1f67de2001
Align existing pca9555 driver to better match mcp23018 API (#16277) 4 years ago
Joel Challis 74e8a71768
Move driver to core (#15944) 4 years ago
QMK Bot b7f415d047
Format code according to conventions (#16249) 4 years ago
MasterSpoon 0452ad9479
Add RGB matrix & LED Matrix support for IS31FL3742A, IS31FL3743A, IS31FL3745, IS31FL3746A (#14989)
Co-authored-by: Xelus22 <17491233+Xelus22@users.noreply.github.com>
4 years ago
Ryan e036c19d06
Add SN74x138 demultiplexer driver (#16217) 4 years ago
Joel Challis 8927d56606
Update outputselect to use platform connected state API (#16185) 4 years ago
Vino Rodrigues cad8866db1
Add support for Q-series on the ckled2001 LED driver (#16051) 4 years ago
Ryan 7d685956cc
Rename `AdafruitBLE` to `BluefruitLE` (#16127) 4 years ago
Stefan Kerkmann be59e8af2b
Deprecate split transactions status field (#16023) 4 years ago
Drashna Jaelre 6ebb44f17e
[Bug][Core] Fix optical sensor firmware upload (#15919) 4 years ago
Alabastard-64 a8482a4424
PMW3389 Revert Firmware load during Initilization (#15859) 4 years ago
Alabastard-64 2842ab4052
Add PMW3389 optical sensor Support (Updated) (#15740)
Co-authored-by: Drashna Jaelre <drashna@live.com>
4 years ago
Drashna Jaelre ec7c3ac12d
Optimize initialization of PMW3360 Sensor (#15821) 4 years ago
Leo Deng 82d3bdb733
IS31FL3733 driver for LED Matrix (#15088) 4 years ago
QMK Bot c32a329583
Format code according to conventions (#15705) 4 years ago
uqs 8b44eaa63e
Update pmw3360 comments to match the datasheet better, fix delays. (#15682) 4 years ago
QMK Bot cbb51eacb0 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Dasky 3b4d5390f2
[Bug] Fix analog joystick to mouse compilation (#15677) 4 years ago
QMK Bot 25707cad5c
Format code according to conventions (#15604) 4 years ago
uqs d3952523fe
pwm3360 driver cleanup and diff reduction to adns9800 (#15559)
* Diff reduction between ADNS9800 and PMW3360 drivers.

They are very similar devices. This (somewhat) unreadable diff is
essentially a no-op, but it makes a `vimdiff` between the 2 drivers much
more readable.

* Cleanup pwm3360 driver some more.

Remove redundant calls to spi_start() and spi_stop(), as pmw3360_write()
will already call these.
4 years ago
Alabastard-64 f08824f6eb
Fix for SPI write timing in PMW3360 driver (#15519)
Timing does not match Pixart documentation for this sensor (may have been carried forward from adns9800).
Not aware of any issues coming from this currently.
It should only cause issues when writing to multiple registers in succession which currently only happens during initialization for the PMW3360.
This should prevent future issues with write operations if other features of the sensor are added.
4 years ago
Dasky 7f7364c559
[Core] Split support for pointing devices. (#15304)
* Draft implementation

* formatting

* fix combined buttons

* remove pimoroni throttle

* sync pointing on a throttle loop with checksum

* no longer used

* doh

Co-authored-by: Drashna Jaelre <drashna@live.com>

* switch pimoroni to a cpi equivalent

* add cpi support

* allow user modification of seperate mouse reports

* a little tidy up

* add *_RIGHT defines.

* docs

* doxygen comments

* basic changelog

* clean up pimoroni

* small doc fixes

* Update docs/feature_pointing_device.md

Co-authored-by: Drashna Jaelre <drashna@live.com>

* performance tweak if side has usb

* Don't run init funtions on wrong side

* renamed some variables for consistency

* fix pimoroni typos

* Clamp instead of OR

* Promote combined values to uint16_t

* Update pointing_device.c

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
4 years ago
QMK Bot f5995901b0
[CI] Format code according to conventions (#15541) 4 years ago
Ryan 77d3e564f7
Migrate RN42 to UART driver and refactor (#15492) 4 years ago
QMK Bot b33ecce392 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre aed64aaef4
[Core] Fix Sensor driver code (#15484) 4 years ago
Drashna Jael're f92d153532
Merge remote-tracking branch 'origin/master' into develop 4 years ago
Xelus22 b09c44ced7
[Core] Add configuration of PMW3360 lift off distance (#15424)
* sensor code add

* update documentation

* add default #define

* Update drivers/sensors/pmw3360.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

Co-authored-by: Drashna Jaelre <drashna@live.com>
4 years ago
Drashna Jaelre 26febb7c24
Expand rotational range for PMW3360 Optical Sensor (#15431) 4 years ago
Joel Challis 5e9c29da0d
Tidy up adjustable ws2812 timing (#15299) 4 years ago
Joel Challis 282e916d86
Remove use of __flash due to LTO issues (#15268) 4 years ago
Drashna Jaelre 56e3f06a26
Rework and expand Pointing Device support (#14343)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
4 years ago
Purdea Andrei 76fb54403c
haptic: Feature to disable it when usb port is not configured or suspended. (#12692)
This also add support for specifying a LED pin to indicate haptic status,
and also adds support for a haptic-enable pin, which is useful to turn off
the boost converter on the solenoid driver.
4 years ago
Drashna Jaelre d05b3da83e
[Bug] Fix unterminated ifdef in ISSI 3733 driver (#15014) 4 years ago
donicrosby 0c72501763
Enable de-ghosting for RGB/LED matrix on all ISSI LED drivers (#14508)
* Initial work for de-ghost enable

* Dumb mistake with the redefine

* Added Copywrite stuff on source files

* Fixed whitespace errors

* Added support for all ISSI LED drivers

* Updated docs for support for ISSI LED driver pull-up pull-down

* Applied clang format

* Added 'boolean' flag to enable de-ghosting for the is31fl3731 IC

* Fixed some of the grammer in the docs

* Fixed comment placement and grammer of comment

* Fixed whitespace errors from lint

Co-authored-by: donicrosby <donicrosby1995@gmail.com>
4 years ago
lalalademaxiya1 f4ea262c17
Add a new led driver for Keychron's keyboards. (#14872)
* Add a new led driver for Keychron's keyboards.

* Update ckled2001.c/ckled2001.h.

* Update ckled2001.c/ckled2001.h.

* Update ckled2001.c/ckled2001.h.

* Update ckled2001.c

* Add a new led driver

* Update ckled2001.c

* Update ckled2001.c

* Update ckled2001.c

* Update ckled2001.c

* Delete ckled2001.c

* Create ckled2001.c

* Update ckled2001.c

* Update chibios-contrib

Co-authored-by: keychron-dev <85598583+keychron-dev@users.noreply.github.com>
Co-authored-by: lokher <lokher@gmail.com>
4 years ago
Drashna Jaelre 9d235d4fc5
[Core] Change OLED task function to be boolean (#14864)
* [Core] Add kb level callbacks to OLED driver

* Update keyboards and keymaps

* Update docs

* Update userspace configs

* Add fix for my keymap ...

* update lefty
4 years ago
Joel Challis 92385e30cd
Manually format develop (#15003) 4 years ago
Joel Challis fb739a67c9
Enable configuration of PWM frequency for IS31FL3733B (#14983)
* Enable PWM frequency for IS31FL3733B

* Document config option

* clang
4 years ago
QMK Bot c3c562cbb6 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Ryan 6ee29d9aa6
Tidy up ADNS9800 and PMW3360 firmware blobs (#14936) 4 years ago
Joel Challis 0093d3d761
Initial USB2422 driver (#14835) 4 years ago
Joel Challis d4be4b67a2
Relocate PS2 code (#14895)
* Relocate ps2 protocol code

* clang

* Move makefile logic
4 years ago
Stefan Kerkmann e50867d52d
[Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)
* Add support for RISC-V builds and GD32VF103 MCU

* Add toolchain selection in chibios.mk based on the mcu selected in
mcu_selection.mk
* Reorder and added comments to chibios.mk to have a streamlined makefile
* Add GD32VF103 mcu to possible targets for QMK.
* Add STM32 compatibility for GD32VF103 MCU, this is hacky but more efficent
  then rewriting every driver.
* Add GigaDevice DFU bootloader as flash target, please note that
  dfu-util of at least version 0.10 is needed.
* Add analog driver compatibility
* Add apa102 bitbang driver compatibility
* Add ws2812 bitbang driver compatibility
* Add eeprom in flash emulation compatibility
* Allow faster re-builds with ccache

* Add SiPeed Longan Nano to platform files

* Add SiPeed Longan Nano Onekeys

* Make quine compatible with other bootloaders

* Support builds with picolibc

* Add risc-v toolchain to arch and debian/ubuntu scripts
4 years ago
Joel Challis dace4d5f0d
Remove QWIIC_DRIVERS (#14174) 4 years ago
Ryan db41a3426c
Improve Adafruit BLE configuration defines (#14749)
* Improve Adafruit BLE configuration defines

* Formatting
4 years ago
Nick Brassel b2a186cf92
Purge uGFX. (#14720)
* Purge uGFX.

* Remove remnants of visualizer.

* Remove remnants of uGFX.
4 years ago
Ryan 20ea5f3fb5
Relocate Adafruit BLE code (#14530) 4 years ago
QMK Bot bf23e4647b Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre 169d5bd21d
[Bug] Fix IS31fl3741 driver to accept 1 or 2 addresses (#14451)
Co-authored-by: Joel Challis <git@zvecr.com>
4 years ago
Joel Challis 0ca4a56a04
Refactor use of STM32_SYSCLK (#14430)
* Refactor use of STM32_SYSCLK

* clang
4 years ago
JayceFayne 767f2c0284
[Core] Add `is_oled_scrolling` (#14305) 4 years ago
Xelus22 4e1c5887c5
[Core] Refactor OLED to allow easy addition of other types (#13454)
* add docs

* core changes

* update keyboards to new OLED

* updated users to new OLED

* update layouts to new OLED

* fixup docs

* drashna's suggestion

* fix up docs

* new keyboards with oled

* core split changes

* remaining keyboard files

* Fix The Helix keyboards oled options

* reflect develop

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
4 years ago
Drashna Jaelre e08d6a33fc
[Core] Fix copypasta issue with pmw3360 sensor config (#14106) 4 years ago
Drashna Jaelre da1c011afc
Improve pmw3360 sensor and make it more hardware agnostic (#14097) 4 years ago
Nick Brassel afd3bcbf45
Fix up compilation issues. (#14095) 4 years ago
Dasky 7f1c90b7a8
[Core] Speed up pimoroni trackball driver (#13823) 4 years ago
Joel Challis 1bb7af4d44
Relocate platform specific drivers (#13894)
* Relocate platform specific drivers

* Move stm eeprom

* Tidy up slightly
4 years ago
Drashna Jaelre 7ef4d0c886
Fix pmw3360 code to only output debug info if mouse debugging is enabled (#13993) 4 years ago
Joel Challis 70fb3e1aaf
__flash? (#13799) 4 years ago
Joel Challis 206a995ccd
Move some led drivers to common folder (#13749)
* Move some led drivers to common folder
4 years ago
Dasky aeb252435d
[develop] Fix pimoroni trackball read address (#13810) 4 years ago
Joel Challis 3858a784c7
Align AW20216 driver (#13712)
* Align AW20216 driver

* Update drivers/awinic/aw20216.h

Co-authored-by: Ryan <fauxpark@gmail.com>

* Review comments

* formatting fixes

* stop if start failed?

* review comments

Co-authored-by: Ryan <fauxpark@gmail.com>
4 years ago
Drashna Jaelre 9e782e4f14
[Bug] Include gpio.h in solenoid driver for GPIO Control functions (#13716) 4 years ago
Joel Challis f945c352e7
Haptic: driver-> feature (#13713) 4 years ago
Chris Cullin 70267b35c3
Dual RGB Matrix IS31FL3737 driver support to address #13442 (#13457)
* initial commit

* removed changes to write_pwm_buffer

* backward compatbility added

* fixed issue with backward compatibility

* documentation update

* removed unneccessary comment. branched from master

* updated per comments #13457

* removed blank line

* cformat on diff files
4 years ago
Chris Cullin 9c74fd14bc
Enable g_is31_leds PROGMEM for RGB Matrix IS31FL3737 driver (#13480) 4 years ago
Gigahawk 6ac037aa3c
AW20216 use register increment for framebuffer flushes (#13430) 4 years ago
Stefan Kerkmann 117bff17ba
[Core] Unite half-duplex and full-duplex serial drivers (#13081)
* Unite half-duplex and full-duplex serial driver.

* Add full duplex operation mode to the interrupt based driver
* Delete DMA UART based full duplex driver
* The new driver targets #11930

* Fix freezes with failing transactions in half-duplex

* Increase default serial TX/RX buffer size to 128 bytes

* Correctly use bool instead of size_t

Co-authored-by: Nick Brassel <nick@tzarc.org>
5 years ago
Gigahawk 1ea01765e1
Allow settable SPI divisor for AW20216 driver, set default to 4 (#13309) 5 years ago
QMK Bot 531f34d2a0 Merge remote-tracking branch 'origin/master' into develop 5 years ago
David Hoelscher 6e1ed1c9d3
Optional OLED splash screen and fixed OLED i2c execution time saving (#12294)
* Made OLED splash screen optional to reduce memory and fixed OLED i2c execution time saving

* moved OLED address updates into their respective conditional checks
5 years ago
Purdea Andrei dd16d3cc7e
eeprom_i2c driver: added EXTERNAL_EEPROM_WP_PIN configuration option. (#12617) 5 years ago
QMK Bot e28d7ab58c Merge remote-tracking branch 'origin/master' into develop 5 years ago