summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* | pwm3360 driver cleanup and diff reduction to adns9800 (#15559)uqs2021-12-273-143/+131
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Fix for SPI write timing in PMW3360 driver (#15519)Alabastard-642021-12-271-3/+3
| | | | | | | | | | | | 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.
* | [Core] Split support for pointing devices. (#15304)Dasky2021-12-272-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | [CI] Format code according to conventions (#15541)QMK Bot2021-12-221-3/+1
| |
* | Migrate RN42 to UART driver and refactor (#15492)Ryan2021-12-222-0/+126
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-12-152-4/+3
|\|
| * [Core] Fix Sensor driver code (#15484)Drashna Jaelre2021-12-152-4/+3
| |
* | Merge remote-tracking branch 'origin/master' into developDrashna Jael're2021-12-112-0/+6
|\|
| * [Core] Add configuration of PMW3360 lift off distance (#15424)Xelus222021-12-082-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Expand rotational range for PMW3360 Optical Sensor (#15431)Drashna Jaelre2021-12-081-1/+1
|/
* Tidy up adjustable ws2812 timing (#15299)Joel Challis2021-11-251-1/+31
|
* Remove use of __flash due to LTO issues (#15268)Joel Challis2021-11-2416-23/+38
|
* Rework and expand Pointing Device support (#14343)Drashna Jaelre2021-11-1417-437/+1281
| | | Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
* haptic: Feature to disable it when usb port is not configured or suspended. ↵Purdea Andrei2021-11-022-6/+18
| | | | | | | (#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.
* [Bug] Fix unterminated ifdef in ISSI 3733 driver (#15014)Drashna Jaelre2021-11-021-0/+2
|
* Enable de-ghosting for RGB/LED matrix on all ISSI LED drivers (#14508)donicrosby2021-11-0210-1/+98
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add a new led driver for Keychron's keyboards. (#14872)lalalademaxiya12021-11-022-0/+565
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [Core] Change OLED task function to be boolean (#14864)Drashna Jaelre2021-11-022-5/+9
| | | | | | | | | | | | | * [Core] Add kb level callbacks to OLED driver * Update keyboards and keymaps * Update docs * Update userspace configs * Add fix for my keymap ... * update lefty
* Manually format develop (#15003)Joel Challis2021-11-016-149/+130
|
* Enable configuration of PWM frequency for IS31FL3733B (#14983)Joel Challis2021-10-301-1/+5
| | | | | | | * Enable PWM frequency for IS31FL3733B * Document config option * clang
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-244-3355/+461
|\
| * Tidy up ADNS9800 and PMW3360 firmware blobs (#14936)Ryan2021-10-244-3355/+461
| |
* | Initial USB2422 driver (#14835)Joel Challis2021-10-222-0/+461
| |
* | Relocate PS2 code (#14895)Joel Challis2021-10-206-0/+1124
| | | | | | | | | | | | | | * Relocate ps2 protocol code * clang * Move makefile logic
* | [Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann2021-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Remove QWIIC_DRIVERS (#14174)Joel Challis2021-10-097-770/+0
| |
* | Improve Adafruit BLE configuration defines (#14749)Ryan2021-10-081-23/+21
| | | | | | | | | | * Improve Adafruit BLE configuration defines * Formatting
* | Purge uGFX. (#14720)Nick Brassel2021-10-079-925/+0
| | | | | | | | | | | | | | * Purge uGFX. * Remove remnants of visualizer. * Remove remnants of uGFX.
* | Relocate Adafruit BLE code (#14530)Ryan2021-09-215-0/+939
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-09-152-12/+12
|\|
| * [Bug] Fix IS31fl3741 driver to accept 1 or 2 addresses (#14451)Drashna Jaelre2021-09-152-12/+12
| | | | | | Co-authored-by: Joel Challis <git@zvecr.com>
* | Refactor use of STM32_SYSCLK (#14430)Joel Challis2021-09-141-1/+1
|/ | | | | * Refactor use of STM32_SYSCLK * clang
* [Core] Add `is_oled_scrolling` (#14305)JayceFayne2021-09-052-0/+6
|
* [Core] Refactor OLED to allow easy addition of other types (#13454)Xelus222021-08-241-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [Core] Fix copypasta issue with pmw3360 sensor config (#14106)Drashna Jaelre2021-08-211-1/+1
|
* Improve pmw3360 sensor and make it more hardware agnostic (#14097)Drashna Jaelre2021-08-202-74/+87
|
* Fix up compilation issues. (#14095)Nick Brassel2021-08-211-5/+2
|
* [Core] Speed up pimoroni trackball driver (#13823)Dasky2021-08-192-90/+153
|
* Relocate platform specific drivers (#13894)Joel Challis2021-08-1735-5635/+0
| | | | | | | * Relocate platform specific drivers * Move stm eeprom * Tidy up slightly
* Fix pmw3360 code to only output debug info if mouse debugging is enabled ↵Drashna Jaelre2021-08-131-6/+8
| | | | (#13993)
* __flash? (#13799)Joel Challis2021-07-318-14/+16
|
* Move some led drivers to common folder (#13749)Joel Challis2021-07-3118-0/+0
| | | * Move some led drivers to common folder
* [develop] Fix pimoroni trackball read address (#13810)Dasky2021-07-311-1/+1
|
* Align AW20216 driver (#13712)Joel Challis2021-07-272-88/+48
| | | | | | | | | | | | | | | | | * 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>
* [Bug] Include gpio.h in solenoid driver for GPIO Control functions (#13716)Drashna Jaelre2021-07-251-0/+1
|
* Haptic: driver-> feature (#13713)Joel Challis2021-07-252-503/+0
|
* Dual RGB Matrix IS31FL3737 driver support to address #13442 (#13457)Chris Cullin2021-07-151-22/+21
| | | | | | | | | | | | | | | | | | | * 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
* Enable g_is31_leds PROGMEM for RGB Matrix IS31FL3737 driver (#13480)Chris Cullin2021-07-121-2/+7
|
* AW20216 use register increment for framebuffer flushes (#13430)Gigahawk2021-07-031-14/+26
|
* [Core] Unite half-duplex and full-duplex serial drivers (#13081)Stefan Kerkmann2021-07-023-376/+262
| | | | | | | | | | | | | | | * 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>