Commit Graph

261 Commits (955a6586a32b8e39c15938463b1a13a1786f593d)

Author SHA1 Message Date
skullydazed 3b525dcf9c
Remove obsolete info.json entries (#2712) 7 years ago
Seebs c0baf2a964 Improve state/chord handling and clean up namespace
Some values that can never, ever, change were held in local
variables, rather than in PROGMEM. Fixed.

Change "pressed" to a signed int so the test for < 0 makes
sense, and to avoid possible weird failure modes in the
case where a key release comes in when pressed is already
zero. (Shouldn't happen, sure, but computers are weird.)

A lot of things in process_steno had external linkage for no
particular reason. They've been marked static. Stuff still
builds.

Distinguish between currently-held keys and keys that have
been held, and expose these values through a nicely-named API
so other code could, say, check on the current set of steno
chording in order to make displays. Also in passing fix up the
"state" value having external linkage so it could clash with
other people's variable declarations.

The API also provides hooks for key processing and steno chord
events, so you can monitor those events without having to
run in matrix_scan_user and recheck the values directly. Also
document these.

There is no path through processing a key that doesn't
end with a return false, so the nested return foo() are
gone and we just return false.
7 years ago
Drashna Jaelre 162a67cbc5 Add userspace config.h handling to build script (#2640)
* Add userspace 'config.h' file

* Add more robust docs

* Remove config.h code from drashna userspace

* Spelling error

* Include links to Config Options page

* Remove config.h documentation from userspace doc, as it's no longer needed
7 years ago
Mike Kozlowski cc323df9ba Fix broken Markdown (#2652)
Fix links in Keyboard Guidelines page
7 years ago
U-LANDSRAAD\drashna 331288233d Add rgblist to docs 7 years ago
Jack Humbert ae7284edb8 rename api docs to internals 7 years ago
Drashna Jaelre ee1bb85542 Expand Newb Guide flashing document (#2588)
* Add header info

* Add DFU section

* Add Caterina section

* Add Halfkay section

* Fix Typos

* More typos
7 years ago
Drashna Jaelre 07b90db897 Fixes and updates to docs (#2611)
* Fix advanced keycode headers

* Add caveat for OSM over Remote Desktop

* Hopefully add better anchors to docs

* Add Action code list reference

* Formatting of RGB Underglow doc

* Add brew update issue on macOS

* Revert formatting

* Revert RGB doc formatting

* Make Config Options doc's sections linkable
7 years ago
U-LANDSRAAD\drashna d965d72d4a Fix custom functions documation for layer_state_set* 7 years ago
Daniel Hoek 3ee59a79aa Add HSV value specification (#2481)
* Update feature_rgblight.md

I got caught out with this as most color pickers use a percentage NOT 0-255 for this number

* Amended description

Woops! Was focused on s/v not being a percentage i got h wrong.
7 years ago
Andrew Macpherson d0054c41e2 Fix typo in autoshift docs: statn (#2579) 7 years ago
skullydazed 7c9d5ace14 Generate API docs from source code comments (#2491)
* Generate api docs from source code

* Add a bunch of doxygen comments

* more doxygen comments

* Add the in-progress api docs

* script to generate docs from travis

* Add doc generation to the travis job

* make travis_docs.sh commit the work it does

* make sure the docs script exits cleanly
7 years ago
snyman 7a5ce36f23 Add macro for momentarily switching to a layer while some mods are active (#2460)
* Macro for a momentary layer switch with mods

Passes through to the existing ACTION_LAYER_MODS macro, albeit with more
limited options due to lack of space in the quantum_keycodes enum.

* Add documentation for LM layer-mod macro

* Clean up Tap Toggle documentation
7 years ago
Merlin04 6d66fe0c0c Added bootloader options
I think I got all of them, so I removed the "FIXME".
7 years ago
Drashna Jaelre ff728a8a01 [Proposal?] Allow RGB Underglow to turn off when host is idle/asleep (#2104)
* Add RGB Underglow Sleeping

* Add RGBLIGHT_SLEEP to toggle/control RGB light behavior

* Update rgb docs

* Update for RGB disable command
7 years ago
Jason Stillwell 00b4dce605 Rule to enable Modifiers with Auto-Shift (#2542)
* Re-enable modifiers with auto-shift

* Auto-shift modifiers rule

* missed a line

* Documentation

* fixing whitespace
7 years ago
fauxpark a2e12faa19 Add CMD and WIN aliases for KC_GUI, GUI(kc), GUI_T(kc), etc. 7 years ago
Joe Wasson 23ac2a02ef Add keycodes for swap-hands feature. 7 years ago
Joe Wasson 7230923b05 Rename ONEHAND_ENABLE to SWAP_HANDS_ENABLE for consistency 7 years ago
Drashna Jael're 3f1d147529 Add SS_RALT for AltGR usage in macros 7 years ago
skullydazed 566399794a
Disable the glossary linking to fix #2498 (#2499) 7 years ago
U-LANDSRAAD\drashna 42e85d2b92 Add layer_state_set_* to custom function lists 7 years ago
U-LANDSRAAD\drashna d27d854913 Examples should all use _user functions for consistency 7 years ago
Joe Wasson 7b80aea8b2 Add back docs for hand-swapping feature. 7 years ago
skullY 48e11240a6 Move the linux tutorials to an info box on newbs_getting_started 7 years ago
skullY 75354f12d7 warn->danger 7 years ago
skullY 6a4e08938e Flesh out the newbs guide 7 years ago
skullydazed 08e48eb6f5
Add a newbie guide for people completely new to QMK (#2480) 7 years ago
Graham P Heath b36b4382d0 Mention invalid names in the readme. (#2458) 7 years ago
skullydazed e87c39d302
More thoroughly document Bootmagic and Command (#2455) 7 years ago
Mitchell van Manen 31cae1f1bd Update feature_macros.md (#2387)
break statements are never reached due to the return statement, so unnecessary
7 years ago
fauxpark b713feb6f2 Add a little aside explaining that shifted keys with mod-tap doesn't work (#2446) 7 years ago
Brian Choromanski 7f7f763598 Fixed dead links (#2451)
* Fixed typo of 'confid.h' to 'config.h'

* Fixed broken links in docs

* Fixed a lot of dead links
7 years ago
Brian Choromanski 8e99fbc884 Fixed typo of 'confid.h' to 'config.h' (#2448)
* Fixed typo of 'confid.h' to 'config.h'

* Fixed broken links in docs
7 years ago
Yan-Fa Li a8daf3ffba Document bootmagic hot keys
- covers most of tmk_core/common/bootmagic.h
7 years ago
ferbie 767f7a8cf0 Fixed formatting for Fedora example 7 years ago
Jose Pablo Mora d54de1c5f2 ergobox -> ergodox 7 years ago
Ben Hilburn 8df2ee4ec3 Minor updates to docs (#2406)
* [docs/] Cleaning up some language to make it more clear.

* [docs/] Adding instructions for installing deps on RH / Fedora.
7 years ago
Gomme_Bidule 63df056013 Update feature_auto_shift.md 7 years ago
Drashna Jaelre 6835ae8209 Add the ability to disable Music Mode completely (#2339)
* Skip process_music in NO_MUSIC_MODE is defined

* Skip matrix_scan_music if NO_MUSIC_MODE is defined

* Skip music_all_notes_off if NO_MUSIC_MODE is defined

* Leave matrix_scan_music in, because it reduces firmware size by 150b....

* Add docs for NO_MUSIC_MODE
7 years ago
skullY 2018df1a61 Clarify the format for layout names 7 years ago
fauxpark 4764e77121 Clarify that we actually have max 16 total backlight levels 7 years ago
fauxpark cfcf0fd36b Remove reference to BL_x in keycodes.md, and add BL_BRTG 7 years ago
YouCanFly 6c24e28b8d ADD RGBLIGHT_LIMIT_VAL (#2214) 7 years ago
Rickard von Essen 4beb5e72f8 macOS also requires avrdude 7 years ago
Balz Guenat 4931510ad3 backlight breathing overhaul (#2187)
* add breathing to bananasplit

* backlight breathing overhaul

* fix the backlight_tick thing.

* fix for vision_division backlight

* fix a few keymaps and probably break breathing for some weirdly set-up boards.

* remove BL_x keycodes because they made unreasonable assumptions

* some fixes for BL keycodes

* integer cie lightness scaling

* use cie lightness for non-breathing backlight and make breathing able to reach true max brightness
7 years ago
Drashna Jael're 4f484bc1c9 Add on/off/toggle keycodes for Auto Shift 7 years ago
Hugo Gayosso d8f0faabda Fixed typo 7 years ago
kamisamamizu eab41f7b38 Added default case to process_record_user
I tried using process_record_user and if I had to add the default case for it to compile.
7 years ago
Zach Richard 8a1e656099 new planck keymap, new feature - hybrid shift/enter action key (great for small keyboards!) (#2100)
* new planck keymap, new feature - hybrid shift/enter action key (great for small keyboards!)

* corrected documentation to specify rules.mk file instead of Makefile
7 years ago