383 Commits (71c0b97bced7722abaa0adefd57066cc065538b5)

Author SHA1 Message Date
Thomas Weißschuh f1cd2a5a89
ChibiOS: add support for HID Programmable Buttons (#15787)
* ChibiOS: add support for HID Programmable Buttons

Fixes #15596

* Enable SHARED_ENDPOINT when PROGRAMMABLE_BUTTON is enabled

The Programmable Button driver expects the shared EP to be enabled.
So enforce this invariant.
4 years ago
Ryan 7d685956cc
Rename `AdafruitBLE` to `BluefruitLE` (#16127) 4 years ago
Stefan Kerkmann 5470e4a8ad
[Core] ChibiOS: shorten USB disconnect state on boot to 50ms (#15805) 4 years ago
Ryan 6bc870d899
Refactor `bootloader_jump()` implementations (#15450)
* Refactor `bootloader_jump()` implementations

* Fix tests?

* Rename `atmel-samba` to `md-boot`
4 years ago
Ryan 77d3e564f7
Migrate RN42 to UART driver and refactor (#15492) 4 years ago
Drashna Jaelre 9d7e64bcb3
Remove Deprecated USB Polling comment from vusb.c (#15420) 4 years ago
QMK Bot a83731660d Merge remote-tracking branch 'origin/master' into develop 4 years ago
Ryan ed49dbeac4
Add missing virtser_init() to ChibiOS code (#15356) 4 years ago
Drashna Jaelre b5a5bb6d74
Change default USB Polling rate to 1kHz (#15352) 4 years ago
Drashna Jaelre ac00b6da29
[Bug] Fix timer include in override_wiring.c (#15221)
* [Bug] Fix timer include in override_wiring.c

* add platforms to keep parity with old method
4 years ago
Nick Brassel 36d123e9c5
Add support for deferred executors. (#14859)
* Add support for deferred executors.

* More docs.

* Include from quantum.h

* Cleanup.

* Parameter checks

* Comments.

* qmk format-c

* I accidentally a few words.

* API name change.

* Apply suggestions from code review

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Review comments.

* qmk format-c

* Review comments.

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
4 years ago
Nick Brassel 5da04fb45b
Update to ChibiOS 20.3.4, support builds against trunk (#14208)
* Add support for building against ChibiOS svn/trunk.

* Swap to 21.6.x

* Update to latest branch revision as released version is broken.

* Updated configs.

* Conf updates.

* Updated ChibiOS

* Convert STM32L422 to actual L422 ChibiOS platform.

* Downgrade to 20.3.4 as ChibiOS 21.6.x is being aborted.

* Rollback L422-based boards.
4 years ago
Nick Brassel 387edab52b
Fixup #15029 (#15031) 4 years ago
Joel Challis 634e42b2b4
Revert to old init order for host driver (#15029)
* Partially revert 14888
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
Joel Challis 7ae0f371cf
Add support to persist MD LED framework settings (#14980)
* Add support to persist MD LED framework settings

* avoid out-of-bounds errors when SmartEEPROM is not enabled

* Update brightness defaults

* clang
4 years ago
Joel Challis ee371c1295
Fix up issues shown by clang-format of vusb (#15004) 4 years ago
just-another-jxliu 736d9fa538
Stop-gap forward-port Drop LED features for CTRL and ALT (#14967) 4 years ago
Joel Challis dcfffa7b67
Relocate protocol files within tmk_core/common/ (#14972)
* Relocate non platform files within tmk_core/common/

* clang
4 years ago
Joel Challis 780e763c13
Remove SERIAL_MOUSE (#14969) 4 years ago
Joel Challis 2ec268bd21
Begin to carve out platform/protocol API - Migrate keyboard_* calls (#14888) 4 years ago
QMK Bot 3b04425f1a Merge remote-tracking branch 'origin/master' into develop 4 years ago
Dasky 1953a968c5
Check usb transmit status in send_extra() (#14643) 4 years ago
Joel Challis 0093d3d761
Initial USB2422 driver (#14835) 4 years ago
Joel Challis 1b1f3ec68e
Split out arm_atsam shift register logic (#14848) 4 years ago
Joel Challis d4be4b67a2
Relocate PS2 code (#14895)
* Relocate ps2 protocol code

* clang

* Move makefile logic
4 years ago
Joel Challis 84d5198ef9
Align PS/2 GPIO defines (#14745)
* Align PS/2 GPIO

* Align PS/2 GPIO

* refactor more keyboards

* Remove more defines

* Put back avr/chibios split

* format
4 years ago
Joel Challis e0d688d4c8
Move converter specific tmk_core protocols (#14743) 4 years ago
Joel Challis 1c0347b8b8
Remove SERIAL_LINK feature (#14727)
* Remove SERIAL_LINK

* more stale paths in doxygen-todo

* Fix

* More refs

* Update testing docs

* Update doxygen-todo

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

Co-authored-by: Ryan <fauxpark@gmail.com>
4 years ago
Nick Brassel b2a186cf92
Purge uGFX. (#14720)
* Purge uGFX.

* Remove remnants of visualizer.

* Remove remnants of uGFX.
4 years ago
Ryan d8f0c8783a
Remove sysex API (#14723) 4 years ago
Purdea Andrei b02a539625
Added power tracking api (#12691)
* Add power tracking API to lufa and chibios targets

* power.c: Pass through power state to the notify function

* power: added notify_power_state_change_user too.

* making it pass the PR linter

* Add a POWER_STATE_NO_INIT state, that we start in before calling power_init();

* Rename *power* to *usb_power*

* removing stray newline

* Rename usb_power* to usb_device_state*

* Update quantum/usb_device_state.h

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

* Fix comment

* usb_device_state.h: Don't include quantum.h, only the necessary headers.

Co-authored-by: Drashna Jaelre <drashna@live.com>
4 years ago
Ryan 20ea5f3fb5
Relocate Adafruit BLE code (#14530) 4 years ago
Thomas Weißschuh 5fb6d57f36
[Bug] fix logical minimum in Programmable Button rdesc (#14464) 4 years ago
Thomas Weißschuh ceaf35c741
[Bug] Fix descriptor for USB Programmable Buttons (#14455) 4 years ago
Thomas Weißschuh 58d72ad795
core: fix compilation issues with USB programmable buttons (#14454)
Reported here:
https://github.com/qmk/qmk_firmware/pull/12950#issuecomment-920329569
4 years ago
Thomas Weißschuh 83988597f4
Add Support for USB programmable buttons (#12950) 4 years ago
Ryan bcf4551f74
Move Bluetooth config to common_features.mk (#14404)
* Move Bluetooth config to common_features.mk

* Update common_features.mk

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

Co-authored-by: Drashna Jaelre <drashna@live.com>
4 years ago
Nick Brassel d0ac03ec8b
Remove unreferenced IBM4704, Sony NEWS, NeXT keyboard code. (#14380) 4 years ago
QMK Bot ac4849df13 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre 6d43a5daf4
Backport F_CPU/F_USB hack from system76 (#14286)
Co-authored-by: Ryan <fauxpark@gmail.com>
4 years ago
Ryan 41c50bb653
Change keyboard level include guards to `pragma once` (#14248)
* Change keyboard level include guards to `pragma once`

And clean up a lot of layout macros

* Oops

* Remove dangling endif
4 years ago
Dasky 9af069ecf3
Fix typo (#14118) 4 years ago
Ryan b16091659c
Move USB Host Shield and Arduino core to `lib/` (#13973) 4 years ago
Nick Brassel ceb3ebda46
Fixup atsam builds. (#14052) 4 years ago
Joel Challis 96e2b13d1d
Begin to carve out platform/protocol API - Single main loop (#13843)
* Begin to carve out platform/protocol API

* Fix up after rebase
4 years ago
Joel Challis 1bb7af4d44
Relocate platform specific drivers (#13894)
* Relocate platform specific drivers

* Move stm eeprom

* Tidy up slightly
4 years ago
a-chol 75b49aff56
Digitizer HID interface : absolute coordinates for mouse cursor (#12851)
* Add digitizer HID interface for setting the mouse cursor position at
absolute screen coordinates. Tested on Pro Micro, Proton C and
Blackpill.

* Update docs/feature_digitizer.md

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

* Update tmk_core/protocol/usb_descriptor.c

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

* Add missing copyrights
Add V-USB support

* Add support for digitizer dedicated endpoint for lufa and chibios.
Fix formatting issues
Move digitizer_task definition to the feature's base implementation file

* Run cformat on modified files

* Change digitizer report usage to Digitizer instead of Pen to avoid
pointer disappearing on Windows.

* Update tmk_core/protocol/vusb/vusb.c

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

* Run cformat from docker image

* Remove send_digitizer from host_driver_t and instead rely on the
declaration being the interface to the implementation in each
HW-specific usb implementation.

* Fix build : send_digitizer shouldn't be static in vusb and add
weak-linkage implementation for tests without usb implementation

* Change digitizer user interface to match pointing device's

* Update documentation with new API

Co-authored-by: a-chol <nothing@none.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
4 years ago
50an6xy06r6n 4b96d5876e
Fix Indicator LED issues (#12097) 4 years ago
Juan Pablo Kutianski 07553b41f0
[Feature] Swap buttons on PS2 Mouse/Trackball (#9205)
* [Feature Request] Swap buttons on PS2 Mouse/Trackball

* [Feature Request] Swap buttons on PS2 Mouse/Trackball

* Added id: to the doc

* Missing space

* Solve comment
https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783182

* Solve comments https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783182 & https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783884

* Format code more according to https://docs.qmk.fm/#/coding_conventions_c

* change logic to LUT

* WIP: Clean up

* WIP: Solution with xor operators to mask the change

* delete #endif & added the missed xor operator (ahhh)

* Variable (mouse_report->buttons): avoid setting twice https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783884

* Update tmk_core/protocol/ps2_mouse.c

Co-authored-by: Nick Brassel <nick@tzarc.org>

Co-authored-by: juank <juank@fktech.net>
Co-authored-by: Nick Brassel <nick@tzarc.org>
4 years ago