summaryrefslogtreecommitdiff
path: root/tmk_core
AgeCommit message (Collapse)Author
2020-08-29Fix the mousekey scrolling (#9174)dhong44
Mousekey scrolling should have a separate repeat variable to keep track of scrolling acceleration, instead of being tied to mouse movement scolling in mousekeys. The send function should record when the last movement was made since this is when movement is actually sent. Doing this fixes the bug where the initial press of a mousekey scroll button causes a double scroll. Signed-off-by: Daniel Hong <daniel.hong@live.com>
2020-08-29Change analogRead calls to analogReadPin (#9023)Ryan
* Change analogRead calls to analogReadPin * Add ChangeLog * Update docs, remove mention of `analogRead()` * Retarget changelog for next round
2020-08-29`qmk cformat` on `develop` (#9501)Nick Brassel
2020-08-29Don't compile outputselect.c if Bluetooth is disabled (#9356)Ryan
2020-08-29Additional cleanups for V-USB code (#9310)Ryan
2020-08-29Convert `CONSUMER2BLUEFRUIT()` and `CONSUMER2RN42()` macros to static inline ↵Ryan
functions (#9055)
2020-08-29Various tidyups for USB descriptor code (#9005)Ryan
2020-08-29Initial work for consolidation of ChibiOS platform files (#8327)Nick Brassel
* Initial work for consolidation of board files and default ChibiOS configs. * Migrate F401/F411 black pills for testing. * Add early init bootloader jump flag. * Add support for I2C in order to use i2c_scanner keymap. * Add F401/F411 HSE bypass to get things booting. * Exempt "hooked" ChibiOS conf files from updater script. * Fix up ordering for bootloader_defs file check. * Match previous $(KEYBOARD_PATHS) value for Proton-C, updated for all board configs.
2020-08-29Remove iWRAP protocol (#9284)Ryan
2020-08-26Fix ChibiOS backlight not turning off on suspend (#10114)Ryan
* Fix ChibiOS backlight not turning off on suspend * Add missing code for backlight as caps lock too
2020-08-21Revert "Add Kiibohd bootloader type to bootloader.mk (#9908)" (#10126)Nick Brassel
This reverts commit e2d4cd1a41c667da186891e3dbaf535c6b0717df.
2020-08-12Add Kiibohd bootloader type to bootloader.mk (#9908)Ryan
2020-08-08[Bug] Fix Swap Hands bug introduced by OSH (#9968)Drashna Jaelre
Fixes the handling for the oneshot cleanup, so it only cleans up if it is active. It should not cleanup of SHO is off (eg using a normal oneshot key), nor if it's actively pressed or used. Previous behavior BROKE swap hand key.
2020-07-25format code according to conventions [skip ci]QMK Bot
2020-07-26Enable OLED support for Teensy 3.2/LC (#7591)Joel Challis
* I2C_TIMEOUT is not defined on arm teensy * Work round teensy having different ChibiOS config options * Stash OLED conf files * update comment * update comment * Remove stm32 alias to allow teensy alt mode
2020-07-21format code according to conventions [skip ci]QMK Bot
2020-07-21Implemented New MK_COMBINED Functionality (#9557)nathanvercaemert
* implemented new mousekey_combined functionality * minor formatting change to documentation * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update tmk_core/common/mousekey.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> * Update docs/feature_mouse_keys.md Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nathan Vercaemert <nathan.vercaemert@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-07-16Remove `DESCRIPTION` (#9732)Ryan
2020-07-07Add TAP_CODE_DELAY to Mod-Tap (#9422)Sven Grunewaldt
2020-07-02Add movement hook to ps2_mouse (#8805)Manna Harbour
Process mouse movement in the keymap before it is sent to the host. Example uses include filtering noise, adding acceleration, and automatically activating a layer. To use, define the following function in your keymap: void ps2_mouse_moved_user(report_mouse_t *mouse_report);
2020-07-02Fix sharing of mouse button state from mousekeys to ps2_mouse (#9124)Manna Harbour
With this change, when ps2_mouse is disabled, mousekeys works as usual. With ps2_mouse enabled, mousekeys button state is shared with ps2_mouse for clicking, dragging, and scrolling, mousekeys clicks are produced by ps2_mouse only, and mouskeys button state is transferred to mousekeys without generating clicks to enable mousekeys dragging. Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-06-22Fixing MIDI for ARM without NKRO enabled (#9466)AlexOConnorHub
2020-06-18Fix for One Shot Layer not being cleaned up after some actions (#8832)Joshua Diamond
2020-06-10Fix one shot swaphands compiler error when NO_ACTION_ONESHOT is defined (#9296)Tsan-Kuang Lee
* init * add RETRO_TAP; tap anyway after TAP_TERM, if no interruption * RETRO_TAP works for other types of taps * revert to upstream/master * explain this fork in readme * use one readme.md file instaed * fix the error if NO_ACTION_ONESHOT is defined * restore readme.md to upstream master Co-authored-by: Tsan-Kuang Lee <tsan.kuang.lee@gmail.com>
2020-06-10adds support for the atmega328 (#9043)itsnoteasy
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-03Move encoder_read to common location (#9003)Joel Challis
2020-06-03Move dip switch init to back of the init process (#9233)Drashna Jaelre
2020-06-01Fix build when using IGNORE_MOD_TAP_INTERRUPT_PER_KEY. (#9258)Nick Brassel
2020-05-302020 May 30 Breaking Changes Update (#9215)James Young
* Branch point for 2020 May 30 Breaking Change * Migrate `ACTION_LAYER_TOGGLE` to `TG()` (#8954) * Migrate `ACTION_MODS_ONESHOT` to `OSM()` (#8957) * Migrate `ACTION_DEFAULT_LAYER_SET` to `DF()` (#8958) * Migrate `ACTION_LAYER_MODS` to `LM()` (#8959) * Migrate `ACTION_MODS_TAP_KEY` to `MT()` (#8968) * Convert V-USB usbdrv to a submodule (#8321) * Unify Tap Hold functions and documentation (#8348) * Changing board names to prevent confusion (#8412) * Move the Keyboardio Model01 to a keyboardio/ subdir (#8499) * Move spaceman keyboards (#8830) * Migrate miscellaneous `fn_actions` entries (#8977) * Migrate `ACTION_MODS_KEY` to chained mod keycodes (#8979) * Organizing my keyboards (plaid, tartan, ergoinu) (#8537) * Refactor Lily58 to use split_common (#6260) * Refactor zinc to use split_common (#7114) * Add a message if bin/qmk doesn't work (#9000) * Fix conflicting types for 'tfp_printf' (#8269) * Fixed RGB_DISABLE_AFTER_TIMEOUT to be seconds based & small internals cleanup (#6480) * Refactor and updates to TKC1800 code (#8472) * Switch to qmk forks for everything (#9019) * audio refactor: replace deprecated PLAY_NOTE_ARRAY (#8484) * Audio enable corrections (2/3) (#8903) * Split HHKB to ANSI and JP layouts and Add VIA support for each (#8582) * Audio enable corrections (Part 4) (#8974) * Fix typo from PR7114 (#9171) * Augment future branch Changelogs (#8978) * Revert "Branch point for 2020 May 30 Breaking Change"
2020-05-25Fix capitalisation of "GitHub" (#9184)Ryan
2020-05-25Added missing shutdown_user() hook (#9180)yulei
* add missing shutdown_user() * use reset_keyboard() from quantum
2020-05-21Allow for overriding RAW endpoint usage page and ID. (#8834)Nick Brassel
* Allow for overriding RAW endpoint usage page and ID. * Move usb_descriptor_common.h. * Docs update.
2020-05-20Fix ChibiOS FPU build logic (#9132)Joel Challis
2020-05-19Disable Mousekey Command interface when Constant speed is enabled (#7017)Drashna Jaelre
2020-05-15CLI: Tune doctor's udev rule checking to match #8750Erovia
2020-05-14V-USB Interface reorder (#9090)yiancar
2020-05-14One shot support for swap hands (#8590)Zsolt Parragi
This commits add the SH_OS keycode, which works similarly to one shot layers: * while pressed, the keyboard is swapped * if no keys were pressed while it was pressed, the next key press is swapped SH_OS also supports chaining with one shot layers: OSL(x) + SH_OS + key interprets the key press on the oneshot layer. The ONESHOT_TIMEOUT setting used by one shot keys and layers is also used by oneshot swap hands. In the above chaining scenario the timeout of the oneshot layer is reset when swap hands is activated. Resolves #2682
2020-05-11Optimization for scanning less layers. (#8311)Alex Ong
* Optimization for scanning less layers. * Rename NUM_LAYERS to MAX_LAYER.
2020-05-10Improve security of avrdude by eliminating the use of well-known names. (#9026)Zach White
* Improve security by eliminating the use of well-known names. * Add an additional $ so the shell expands $TMP1 and $TMP2 Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
2020-05-08Revert "Use nano specs (#8270)" (#9044)Joel Challis
This reverts commit c775104b9f60d738fd69166da33972d60034c639.
2020-05-04Remove Bluefruit protocol (#9008)Ryan
* Remove Bluefruit protocol * Remove dir from doxygen TODO pile
2020-05-04Revert "Fix conflicting types for 'tfp_printf' (#8269)"skullY
This reverts commit e17b55e33ad5b3dcefcf7b828ac99aeb2daeeae2.
2020-05-04format code according to conventions [skip ci]QMK Bot
2020-05-03Fix conflicting types for 'tfp_printf' (#8269)Joel Challis
* Refactor to use mpaland/printf * trim firmware size * remove keymap changes * run clang format * Fixup after rebase * fix up git-submodule command for printf
2020-05-03Initial vusb console support (#8559)Joel Challis
2020-05-03Add some usages needed for ChromeOS hosts (#8996)Joshua Moses Diamond
2020-05-03Provide a mechanism for split keyboards to process key press on both halves ↵Joel Challis
(#9001)
2020-05-02Move encoder_read to common locationzvecr
2020-04-29Allow some usbconfig.h overrides at the keyboard level (#8647)Joel Challis
2020-04-20Clean up ATSAM ifdefs (#8808)Ryan