Commit Graph

10226 Commits

Author SHA1 Message Date
Florian Didron
47fa4894bb chore: unused var cleanup 2019-12-05 16:03:54 -08:00
Florian Didron
c80f69639b feat: add landing page url command 2019-12-05 16:03:54 -08:00
Florian Didron
1f926d5431 feat: update examples + pairing process 2019-12-05 16:03:54 -08:00
Florian Didron
0e3739a213 fix: adds webusb include on test keymaps 2019-12-05 16:03:54 -08:00
Florian Didron
afdba6115a feat: adds pairing key 2019-12-05 16:03:54 -08:00
Florian Didron
39c6035657 fix: point to ZSA's lufa fork and to the webusb compatible commit 2019-12-05 16:03:54 -08:00
Florian Didron
40f08c04c3 chore: indent fix 2019-12-05 16:03:54 -08:00
Florian Didron
817720fbdb feat: webusb keymap examples 2019-12-05 16:03:53 -08:00
Florian Didron
368c2f1cdf fix: run webusb task on chibios 2019-12-05 16:03:53 -08:00
Florian Didron
70cfe93f3e chore: change manufacturer name to ZSA 2019-12-05 16:03:53 -08:00
Florian Didron
e1c12338a1 fix: MS OS 2.0 Property value 2019-12-05 16:03:53 -08:00
Florian Didron
ea6f99e05d feat: adds webusb 2019-12-05 16:03:53 -08:00
Joel Challis
5400211a9a Refactor ps2avrgb i2c ws2812 to core (#7183)
* Refactor ps2avrgb i2c ws2812 to core

* Refactor jj40 to use ws2812 i2c driver

* Refactor ps2avrgb template to use ws2812 i2c driver

* Add ws2812 stub files

* clang-format and driver config

* Add ws2812 driver docs

* Fix default config values

* Update tmk_core/protocol/vusb/main.c

Co-Authored-By: Drashna Jaelre <drashna@live.com>
2019-12-05 16:03:53 -08:00
Joel Challis
c1d468a5b7 Reduce duplication for ARM/AVR ws2812 RGB Matrix driver (#7180)
* Reduce duplication for ARM/AVR ws2812 rgb_matrix driver

* Reduce duplication for ARM/AVR ws2812 rgb_matrix driver - Fix setled_all use of r,g,b
2019-12-05 16:03:53 -08:00
just-another-jxliu
2a3cc8e273 Fix held key getting stuck when NKRO is toggled (#6570)
* Fix held key getting stuck when NKRO is toggled

* Updated file to latest qmk version and added fix to cases MAGIC_UNHOST_NKRO & MAGIC_HOST_NKRO as well.

* Revert merged quantum.c
2019-12-05 16:03:52 -08:00
Yang Li
f832395063 Add python-pip as package dependency for archlinux (#7041) 2019-12-05 16:03:52 -08:00
Joel Challis
4af7cbcc71 Move tmk_core/common/backlight to quantum/backlight (#6710)
* Move tmk_core/common/backlight to quantum/backlight

* Add guards to backlight inclusion

* Add guards to backlight inclusion

* Update backlight guards on clueboard/60

* Use full paths to avoid vpath issues
2019-12-05 16:03:52 -08:00
fauxpark
e54578a89c Fix bug in do_code16() (#6935)
* Fix bug in `do_code16()`

* Remove qk_ mods functions
2019-12-05 16:03:52 -08:00
theVDude
616b97782a Fix small hiccup in snake animation (#6858) 2019-12-05 16:03:52 -08:00
Deckweiss
70ce9e566e Added uart config for using rn42 with at90usb1286 (#6582)
* Added uart config for using rn42 with at90usb1286

* Updated quantum/config_common.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update quantum/config_common.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update quantum/config_common.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>
2019-12-05 16:03:52 -08:00
Joel Challis
67d52f67df Add binary support to tinyprintf (#7024) 2019-12-05 16:03:52 -08:00
Joel Challis
9148b001ff Port DEBUG_MATRIX_SCAN_RATE to core (#7029)
* Port DEBUG_MATRIX_SCAN_RATE to core

* Remove duplicate DEBUG_MATRIX_SCAN_RATE implementations

* Remove duplicate DEBUG_MATRIX_SCAN_RATE implementation from handwired/xealous

* Add console logic from ergodox_ez
2019-12-05 16:03:51 -08:00
Joel Challis
cb7d24d95d Fix CONVERT_TO_PROTON_C_RXLED pins (#7007) 2019-12-05 16:03:51 -08:00
fauxpark
4dc4084c03 Reorder Raw HID interface to match what the USB spec expects (#6801) 2019-12-05 16:03:51 -08:00
fauxpark
9ac9fffc9c Wrap util.h functions in extern "C" (#6762) 2019-12-05 16:03:51 -08:00
Silvio Gulizia
7f07b9d5af Fix quantum keymapextra italian (#6779)
* remove IT_PIPE duplicate and add IT_GRAD

IT_PIPE was declared 2 times, ones as ° and once as |. I changed the first declaration and called it IT_GRAD. I even fixed the definition because the ° in Italian is obtained with LSFT(IT_AACC)

* rename IT_GRAD to IT_DEGR

* add    missing plus_and_minus

* fix missing IT_ACUT definition

* change KC_LALT(KC_LSFT to LALT(LSFT

* Fix alignment

* remove leftover

* fix issue generated with chars while pushing

* fix typo

* fix LCBR and RCBR

* fix euro symbol

* fix RBRC

* change IT_LESS form KC_NUBS to KC_GRAVE

* add IT_TILDE and change IT_GRAV to IT_GRAVE

* add missing legends for accented vowels

* format for readability

* revert to commit befor I edit it

* initial commit

* edited to be easier to compare to _ansi.h

* remove keymap_italian_osx_iso.h and rename with edits keymap_italian_osx_ansi.h to keymap_italian_osx.h

I found out there were no difference at all

* fix missing #endif

* rename quantum/keymap_extras/keymap_italian_osx.h to quantum/keymap_extras/keymap_italian_ansi.h

Now this file is a clone of the keymap_italian.h that appears to be working only for ISO keyboards. It also contains a few improvements for IT_PIPE (defined two times) and IT_ACUT (missing definition). Additionally it redefines LCBR and RCBR to LSFT(IT_LBRC) and LSFT(IT_RBRC)

* rename file

* redefines IT_BKSL and IT_PIPE based on KC_BKSL

* add new osx_iso and osx_ansi version for italian.h and align BKSL to BSLS, fix double definition of PIPE
2019-12-05 16:03:51 -08:00
fauxpark
05ed342709 Port drivers.txt changes from the Toolbox (#6786) 2019-12-05 16:03:51 -08:00
Francis St-Amour
05cbac82e3 add python3 to shell.nix (#6774) 2019-12-05 16:03:51 -08:00
Burak Can
62c1edc5ac Correct casing for DS_Store in .gitignore (#6787) 2019-12-05 16:03:50 -08:00
Sorixelle
a73c258d79 Add support for Void Linux systems to the qmk_install.sh script (#5526)
* Add support for Void Linux systems to the qmk_install.sh script

* Fix typos + grammatical edits in comments

* Sort distributions by alphabetical order in linux_install.sh

* Revert previous commit and sort Void packages in alphabetical order

* Fix permissions on `util/linux_install.sh`
2019-12-05 16:03:50 -08:00
fauxpark
a2c458863e Add support for 328P hardware backlight on B1/B2 (qmk#6776) 2019-12-05 16:03:50 -08:00
Erovia
69542eaa4b MILC: Use dashes instead of underscores for subcommands
The subcommand functions' name follows the Python convention of using
snake case, but looks odd on the command line.
Fix it by converting underscores to dashes, eg.: list_keyboards ->
list-keyboards.
2019-12-05 16:03:50 -08:00
Harry Wada
703f905a72 Fix detection of ModemManager (#7076) 2019-12-05 16:03:50 -08:00
Dan McClain
f0fe12e005 [CLI] Add qmk list_keyboards (#6927)
`list_keyboards` replicates the `make list-keyboards` by globbing for all paths
that include `rules.mk` and then removing the paths that include `keymaps`.

This basis of this cli command could be reused in the future as a util, but is
not done so here since this would be the only place that would use it currently

Resolves #6911
2019-12-05 16:03:50 -08:00
St. John Johnson
135e0dfff4 Use keymap instead of username variable for qmk new_keymap (#6885)
Username is not defined and this causes `qmk new_keymap` to error.  This
appears to have originated from a partial update in
https://github.com/qmk/qmk_firmware/pull/6708/files#diff-d5208bcbc79aa428556a743b6ff41086.  This change completes the migration from `username` to `keymap`
2019-12-05 16:03:50 -08:00
Ayman Bagabas
c29b1da096 Fix qmk doctor 'bytes-like object is required' on linux
This fixes the following issue related to encoding on linux systems. Add
`universal_newlines=True` to subprocess.

<class 'TypeError'>
☒ a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/milc.py", line 564, in __call__
    return self.__call__()
  File "/usr/local/lib/python3.7/site-packages/milc.py", line 569, in __call__
    return self._entrypoint(self)
  File "$HOME/qmk_firmware/lib/python/qmk/cli/doctor.py", line 56, in doctor
    for line in mm_check.stdout.split('\n'):
TypeError: a bytes-like object is required, not 'str'
2019-12-05 16:03:49 -08:00
skullydazed
dfda3cf71d Configuration system for CLI (#6708)
* Rework how bin/qmk handles subcommands

* qmk config wip

* Code to show all configs

* Fully working `qmk config` command

* Mark some CLI arguments so they don't pollute the config file

* Fleshed out config support, nicer subcommand support

* sync with installable cli

* pyformat

* Add a test for subcommand_modules

* Documentation for the `qmk config` command

* split config_token on space so qmk config is more predictable

* Rework how subcommands are imported

* Document `arg_only`

* Document deleting from CLI

* Document how multiple operations work

* Add cli config to the doc index

* Add tests for the cli commands

* Make running the tests more reliable

* Be more selective about building all default keymaps

* Update new-keymap to fit the new subcommand style

* Add documentation about writing CLI scripts

* Document new-keyboard

* Update docs/cli_configuration.md

Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>

* Update docs/cli_development.md

Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>

* Update docs/cli_development.md

Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>

* Update docs/cli_development.md

Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>

* Address yan's comments.

* Apply suggestions from code review

suggestions from @noahfrederick

Co-Authored-By: Noah Frederick <code@noahfrederick.com>

* Apply suggestions from code review

Co-Authored-By: Noah Frederick <code@noahfrederick.com>

* Remove pip3 from the test runner
2019-12-05 16:03:49 -08:00
Drashna Jaelre
6099a97718 Generalize Tap Dance Layer functions (#6629)
* made tapdance dual_role general

* updated original dual_role functionality

* added toggling layer example

* Fix dual role and add alias

* Update docs about new layer tap dances

* Fix up based on feedback
2019-12-05 16:03:49 -08:00
XScorpion2
fe32c9172d Fixing wrapping math logic for timer_expired functions (#6746) 2019-12-05 16:03:49 -08:00
fauxpark
860995817f Add list-keymaps make target (#5563) 2019-12-05 16:03:49 -08:00
MechMerlin
53e7452e49 DRV2605L Continuous Haptic Feedback Support (#6461)
* provide means to turn on RTP mode and set the amplitude

* new keycode HPT_CONT to turn RTP off/on

* introduce new keycodes HPT_CONI, and HPT_COND for Haptic Continuous Increase and Decrease

* support for continuous mode amplitude increase and decrease

* code cleanup

* update docs to reference new keycodes and functionality

* don't touch the keymaps

* add function prototypes

* add proper guards

* cleanup guards

* remove extra reserved
2019-12-05 16:03:48 -08:00
XScorpion2
74d911b5df Updated split encoders so indexes are based on left hand encoders first (#6382)
* Updated encoder.c so that split encoders are indexed based on left hand encoders first.
This ensures when swapping master sides that code logic based on encoder index doesn't change.

PR Review fixes

* Removed extra define
2019-12-05 16:03:48 -08:00
XScorpion2
70d35e8e30 Smoother Linear Light Table (#6764) 2019-12-05 16:03:46 -08:00
Florian Didron
ac7de6603c feat: add get layer command 2019-12-06 08:20:51 +09:00
Florian Didron
f7408111c7 fix: chibios handle disconnections gracefully 2019-12-06 08:20:51 +09:00
Florian Didron
15d3efd5d1 fix: only change usb vesion spec if webusb is enabled 2019-12-06 08:20:51 +09:00
Florian Didron
0bd727cb19 chore: renaming of the get version cmds 2019-12-06 08:20:51 +09:00
Florian Didron
4a8aa15634 fix: lufa handle disconnections gracefully 2019-12-06 08:20:51 +09:00
Florian Didron
54d6f5d4c5 feat: add fw version webusb cmd 2019-12-06 08:20:51 +09:00
Florian Didron
3a14d8874f chore: refactor webusb lp url command 2019-12-06 08:20:51 +09:00