Commit Graph

10615 Commits

Author SHA1 Message Date
Manna Harbour
dce40e33d4 Add movement hook to ps2_mouse (#8805)
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-08-08 22:08:38 -07:00
Ryan
3fa11d8613 Make sendstring respect TAP_CODE_DELAY (#9623) 2020-08-08 22:02:13 -07:00
Manna Harbour
f32994a5ee Fix sharing of mouse button state from mousekeys to ps2_mouse (#9124)
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-08-08 21:57:58 -07:00
Guillaume Gérard
95782d3137 Send_String: feat: add dvorak-fr as extra keymap (#9512) 2020-08-08 21:32:07 -07:00
Joshua Diamond
846a3197b6 Send_String: Add Hebrew keymap aliases (#9383)
* Add Hebrew keymap aliases

* Use NBSP for internal space in box drawings

* Apply suggestions from code review

* More whitespace fixes

* IL_DVAV, IL_DYOD and IL_VYOD were incorrect

* Add IL_DEG, IL_MUL, IL_DIV

* Hebrew is now ISO (no more BAE)

* Use ISO left shift

* Apply suggestions from code review

* DYOD and VYOD were reversed in diagram.

Oops!
2020-08-08 21:29:55 -07:00
Drashna Jaelre
067031293f Improve keycode handling for RGB (#7677)
Co-authored-by: drashna <drashna@live.com>
Co-authored-by: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
2020-08-08 21:26:34 -07:00
AlexOConnorHub
c41102d192 Fixing MIDI for ARM without NKRO enabled (#9466) 2020-08-08 21:25:44 -07:00
Nick Brassel
712a930fa9 qmk cformat (#9500) 2020-08-08 21:25:14 -07:00
Drashna Jaelre
3565e56573 Change led variable in rgb_matrix_drivers to avoid conflicts (#9412)
* Change `led` to `led_matrix` in rgb_matrix_drivers

Is a minor change that only affects the driver file. 

However, this will allow somebody to run rgblight along side rgb matrix
using the ws2812 driver, as well.  Specifically, so you can use the
custom driver for rgblight to set a different pin (barring a change to
the `ws2812_setleds` function).  

Courtesy of discord conversion:
https://discordapp.com/channels/440868230475677696/568161140534935572/721555623191248906

* Change name to be super specific

* Update rgb_matrix_drivers.c
2020-08-08 21:24:17 -07:00
Thorsten
957111d11d update shell.nix (#8910)
* now uses gcc 8.4
* fixes building boards with adafruit feather (in my case pancake)
2020-08-08 21:22:07 -07:00
MelGeek
872cabee5b Support IS31FL3741 and IS31FL3741A. (#9201) 2020-08-08 21:21:18 -07:00
Joshua Diamond
2d5109e244 Fix incorrect delay when setting WS2812 (and similar) leds (#9302)
* Fix incorrect delay when setting WS2812 (and similar) leds

* Add documentation for WS2812_DELAY_MICROSECONDS

* Remove improper cast to uint8_t

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

* Remove unneeded cast to uint8_t and correct math

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

* microseconds -> µs

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

* Make documentation better match the spec sheet.

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

* Rename macro to match spec sheet

* Further correction to the delay maths for the SPI case.

Co-authored-by: Joel Challis <git@zvecr.com>

* Move ws2812_common.h to the drivers directory

* Revert "Further correction to the delay maths for the SPI case."

This reverts commit e61b56a2cfc7dfec9992a7a3af92afa50e5b8ec0.

* Remove ws2812_setleds_pin(); consolidate ws2812.h

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>

format code according to conventions [skip ci]
2020-08-08 21:19:31 -07:00
Xelus22
dc2c6e3a7d STM32 WS2812 Open Drain Configuration (#9414)
* update docs stm32 only and applies  to all 3 driver
* cformat
2020-08-08 21:17:24 -07:00
Ryan
43dadc79ff Parse version better in qmk doctor GCC version checks (#9324) 2020-08-08 21:16:44 -07:00
Joshua Diamond
4badbca517 Fix for One Shot Layer not being cleaned up after some actions (#8832) 2020-08-08 21:16:15 -07:00
Jason Laqua
bbc30127f9 Standardize how unicode is processed (fixes #8768) (#8770)
Co-authored-by: Konstantin Đorđević <vomindoraan@gmail.com>
2020-08-08 21:08:28 -07:00
Erovia
15cc75be6f CLI: Add ATmega328 and ATtiny85 to supported CPUs (#9371)
* CLI: Add ATmega328 to supported CPUs

Support for ATmega328 was added in #9043.

* Update lib/python/qmk/constants.py
2020-08-08 21:07:30 -07:00
Tsan-Kuang Lee
d34a4d0062 Fix one shot swaphands compiler error when NO_ACTION_ONESHOT is defined (#9296)
* 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-08-08 21:04:33 -07:00
itsnoteasy
7d8930c805 adds support for the atmega328 (#9043)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-08-08 21:04:00 -07:00
Kimat Boven
d26bb7e403 BE_J should map to KC_J (#9243) 2020-08-08 21:01:22 -07:00
zvecr
9e607a70ae Move encoder_read to common location (qmk#9003) 2020-08-08 20:59:30 -07:00
Drashna Jaelre
c759836a16 Move dip switch init to back of the init process (#9233) 2020-08-08 20:57:18 -07:00
Ryan
1cf68dffd4 Void Linux: Switch to cross-arm-none-eabi toolchain (#9228) 2020-08-08 20:56:52 -07:00
Joshua Diamond
3390de3551 Fix layer mask size for RGBLIGHT_LAYER_BLINK (#9260) 2020-08-08 20:53:38 -07:00
Joshua Diamond
98e93c95ec Option to allow lighting layers when RGB Lighting is off (#9051) 2020-08-08 20:52:45 -07:00
Nick Brassel
b9f8ad1b9a Fix build when using IGNORE_MOD_TAP_INTERRUPT_PER_KEY. (#9258) 2020-08-08 20:51:03 -07:00
James Young
d9cebd5d46 2020 May 30 Breaking Changes Update (#9215)
* 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-08-08 20:49:01 -07:00
Zach White
51912a8efc Fix running qmk info without any arguments (#9218) 2020-08-08 20:33:17 -07:00
Wilba
ea0abec564 ISSI driver compile error fix (#9169) 2020-08-08 20:32:19 -07:00
Zach White
e85a5f04f8 Fix the path for generated keymaps (#9213) 2020-08-08 20:32:02 -07:00
Zach White
583c2cead2 Fix compiling json files (#9210) 2020-08-08 20:31:26 -07:00
Zach White
ec8c10ac1b [CLI] Add a subcommand for getting information about a keyboard (#8666)
You can now use `qmk info` to get information about keyboards and keymaps.

Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-08-08 20:31:13 -07:00
Erovia
5ea1cd3526 CLI: fix json2c subcommand and add/fix tests (#9206)
Co-authored-by: Zach White <skullydazed@users.noreply.github.com>
2020-08-08 20:29:03 -07:00
Ryan
4db676c64d Fix capitalisation of "GitHub" (#9184) 2020-08-08 20:27:10 -07:00
Drashna Jael're
a2cbd53ac9 Fix Moonlander Initialization
Launching!
2020-07-28 08:18:16 -07:00
Drashna Jaelre
15553646b8 Remove Handwired folder 2020-07-28 07:39:38 -07:00
Florian Didron
fa51e2b5c3 fix: Houston 2020-06-12 17:00:27 +09:00
Drashna Jael're
e6c9b83eac Pull A5 High when channel is stopped 2020-06-12 17:00:27 +09:00
yulei
0e20dcd6f1 Added missing shutdown_user() hook (#9180)
* add missing shutdown_user()

* use reset_keyboard() from quantum
2020-06-12 17:00:27 +09:00
Drashna Jaelre
e1c7a31279 Fix i2c EEPROM compile issue when Console is enabled (#9186)
* Fix i2c EEPROM compile issue when Console is enabled

* Only use if both console and debugging is enabled
2020-06-12 17:00:27 +09:00
Drashna Jaelre
e11f80b098 Fix SPI EEPROM compile issue when Console is enabled (#9193) 2020-06-12 17:00:27 +09:00
Nick Brassel
21d4976448 Fix build. (#9163) 2020-06-12 17:00:27 +09:00
Erovia
e73966e6c2 CLI: Rework submodule checking (#9162) 2020-06-12 17:00:27 +09:00
ridingqwerty
3ecb3e1bae Remove broken example from Makefile (#9159)
* Remove broken example from Makefile

* Correct example in Vagrantfile
2020-06-12 17:00:27 +09:00
zvecr
9d4e1c2642 Initial arm serial partially based on old lets split code 2020-06-12 17:00:27 +09:00
Joel Challis
2cbf1f08fd ARM split - Add uart half duplex transport support (#7987)
* ARM split - Add uart half duplex transport support

* Fix for f103

* initial full duplex pass

* partially remove full duplex

* Correct speeds within driver docs

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

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

format code according to conventions [skip ci]
2020-06-12 17:00:27 +09:00
Joel Challis
ce68912cf2 Slight speed increases for matrix scanning (#9150) 2020-06-12 17:00:27 +09:00
Joel Challis
4a2102fa64 Use LUFA funcs for split_util (#8594) 2020-06-12 17:00:27 +09:00
Nick Brassel
68c005d4a7 Allow for overriding RAW endpoint usage page and ID. (#8834)
* Allow for overriding RAW endpoint usage page and ID.

* Move usb_descriptor_common.h.

* Docs update.
2020-06-12 17:00:27 +09:00
Erovia
7a685cf795 Fix submodule check (#9155) 2020-06-12 17:00:27 +09:00