summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2022-01-02Format code according to conventions (#15705)QMK Bot
2022-01-02Update pmw3360 comments to match the datasheet better, fix delays. (#15682)uqs
2021-12-31Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-12-30[Bug] Fix analog joystick to mouse compilation (#15677)Dasky
2021-12-28Format code according to conventions (#15604)QMK Bot
2021-12-27pwm3360 driver cleanup and diff reduction to adns9800 (#15559)uqs
* 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.
2021-12-27Fix for SPI write timing in PMW3360 driver (#15519)Alabastard-64
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.
2021-12-27[Core] Split support for pointing devices. (#15304)Dasky
* 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>
2021-12-22[CI] Format code according to conventions (#15541)QMK Bot
2021-12-22Migrate RN42 to UART driver and refactor (#15492)Ryan
2021-12-15Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-12-15[Core] Fix Sensor driver code (#15484)Drashna Jaelre
2021-12-11Merge remote-tracking branch 'origin/master' into developDrashna Jael're
2021-12-08[Core] Add configuration of PMW3360 lift off distance (#15424)Xelus22
* 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>
2021-12-08Expand rotational range for PMW3360 Optical Sensor (#15431)Drashna Jaelre
2021-11-25Tidy up adjustable ws2812 timing (#15299)Joel Challis
2021-11-24Remove use of __flash due to LTO issues (#15268)Joel Challis
2021-11-14Rework and expand Pointing Device support (#14343)Drashna Jaelre
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2021-11-02haptic: Feature to disable it when usb port is not configured or suspended. ↵Purdea Andrei
(#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.
2021-11-02[Bug] Fix unterminated ifdef in ISSI 3733 driver (#15014)Drashna Jaelre
2021-11-02Enable de-ghosting for RGB/LED matrix on all ISSI LED drivers (#14508)donicrosby
* 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>
2021-11-02Add a new led driver for Keychron's keyboards. (#14872)lalalademaxiya1
* 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>
2021-11-02[Core] Change OLED task function to be boolean (#14864)Drashna Jaelre
* [Core] Add kb level callbacks to OLED driver * Update keyboards and keymaps * Update docs * Update userspace configs * Add fix for my keymap ... * update lefty
2021-11-01Manually format develop (#15003)Joel Challis
2021-10-30Enable configuration of PWM frequency for IS31FL3733B (#14983)Joel Challis
* Enable PWM frequency for IS31FL3733B * Document config option * clang
2021-10-24Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-24Tidy up ADNS9800 and PMW3360 firmware blobs (#14936)Ryan
2021-10-22Initial USB2422 driver (#14835)Joel Challis
2021-10-20Relocate PS2 code (#14895)Joel Challis
* Relocate ps2 protocol code * clang * Move makefile logic
2021-10-18[Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann
* 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
2021-10-09Remove QWIIC_DRIVERS (#14174)Joel Challis
2021-10-08Improve Adafruit BLE configuration defines (#14749)Ryan
* Improve Adafruit BLE configuration defines * Formatting
2021-10-07Purge uGFX. (#14720)Nick Brassel
* Purge uGFX. * Remove remnants of visualizer. * Remove remnants of uGFX.
2021-09-21Relocate Adafruit BLE code (#14530)Ryan
2021-09-15Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-15[Bug] Fix IS31fl3741 driver to accept 1 or 2 addresses (#14451)Drashna Jaelre
Co-authored-by: Joel Challis <git@zvecr.com>
2021-09-14Refactor use of STM32_SYSCLK (#14430)Joel Challis
* Refactor use of STM32_SYSCLK * clang
2021-09-05[Core] Add `is_oled_scrolling` (#14305)JayceFayne
2021-08-24[Core] Refactor OLED to allow easy addition of other types (#13454)Xelus22
* 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>
2021-08-21[Core] Fix copypasta issue with pmw3360 sensor config (#14106)Drashna Jaelre
2021-08-20Improve pmw3360 sensor and make it more hardware agnostic (#14097)Drashna Jaelre
2021-08-21Fix up compilation issues. (#14095)Nick Brassel
2021-08-19[Core] Speed up pimoroni trackball driver (#13823)Dasky
2021-08-17Relocate platform specific drivers (#13894)Joel Challis
* Relocate platform specific drivers * Move stm eeprom * Tidy up slightly
2021-08-13Fix pmw3360 code to only output debug info if mouse debugging is enabled ↵Drashna Jaelre
(#13993)
2021-07-31__flash? (#13799)Joel Challis
2021-07-31Move some led drivers to common folder (#13749)Joel Challis
* Move some led drivers to common folder
2021-07-31[develop] Fix pimoroni trackball read address (#13810)Dasky
2021-07-27Align AW20216 driver (#13712)Joel Challis
* 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>
2021-07-25[Bug] Include gpio.h in solenoid driver for GPIO Control functions (#13716)Drashna Jaelre