summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Improve state/chord handling and clean up namespaceSeebs2018-04-072-49/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* change KEYMAP to LAYOUT for all new keyboards made using this scriptmechmerlin2018-04-052-2/+2
|
* Fix commands and update my userspace (for testing)U-LANDSRAAD\drashna2018-03-282-38/+54
|
* add RGB commands as global functionsU-LANDSRAAD\drashna2018-03-281-0/+44
|
* Add Support for Software Workman (#2632)Jacob Jerrell2018-03-282-0/+124
| | | This adds the keymap translations and sendstring definitions to support software workman.
* add grave to auto-shift.Jason Stillwell2018-03-261-0/+1
|
* change rgblight_increase_val() and eeconfig_update_rgblight_default(), use ↵mtei2018-03-261-7/+9
| | | | RGBLIGHT_LIMIT_VAL insted of 255.
* New keymap and more songs (#2609)Joshua Coffey2018-03-251-4/+141
| | | | | | | | | | * Added some new songs and my own keymap * Made Dodger keymap safe to use with backlight disabled * edited layer switching and added more songs * changed keymap to lowercase
* Fix #1566 - NKRO reseting issueU-LANDSRAAD\drashna2018-03-251-2/+1
|
* Add macro for momentarily switching to a layer while some mods are active ↵snyman2018-03-202-0/+10
| | | | | | | | | | | | | (#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
* Rule to enable Modifiers with Auto-Shift (#2542)Jason Stillwell2018-03-161-0/+4
| | | | | | | | | | | | * Re-enable modifiers with auto-shift * Auto-shift modifiers rule * missed a line * Documentation * fixing whitespace
* Duplicate KC space to UK (#2541)Kenny Hung2018-03-161-6/+117
| | | | | | | | | | | | | | | | * Fix tilde in xd75 skewwhiffy * Small tidy up * Tidy up Colemak row * Tidy up navigation layer * Symbols layer redefined * Fix UK Quote issue * Use UK_QUOT rather than KC_QUOT
* Add CMD and WIN aliases for KC_GUI, GUI(kc), GUI_T(kc), etc.fauxpark2018-03-162-0/+12
|
* Add keycodes for swap-hands feature.Joe Wasson2018-03-162-0/+20
|
* Create sendstring_spanish.hDaniel Rodríguez Rivero2018-03-161-0/+71
| | | | This makes possible to use SEND_STRING with a spanish keyboard for almost all symbols except the ones that require ALT, which are documented on the code comments. I am not adding any documentation because the functionality is not complete until a way to specify alted symbols is added.
* Add italian keymapNicola Gargagli2018-03-161-0/+122
|
* Fixed various keymaps and the allocation of "key_combos" (#2526)Brian Choromanski2018-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | * Fixed plank keymaps so that they will compile for planck light * tv44:budi now compiles * s60_x:amnesia0287 now compiles * Fixed allocation of key_combos so that narze keymap for planck can compile correctly * Disabled rgb on ergodone and infinity * Enabled tap dance so it compiles * Added return statement so it compiles * If compiling on light disable extra functionality * Properly redefined variable so it compiles
* Add SS_RALT for AltGR usage in macrosDrashna Jael're2018-03-091-0/+1
|
* quantum: keympa_extra: add sendstring_bepo.hcrazyiop2018-03-071-0/+41
|
* quantum: keymap_bepo.h: fix typo in BP_COMMMAcrazyiop2018-03-071-1/+1
|
* Fix the SGUI aliasesskullY2018-03-011-4/+4
|
* Add `SGUI()` and `SGUI_T()` for consistency with `KC_GUI` (#2442)skullydazed2018-03-011-2/+4
| | | | | | | | * Add `SGUI()` as an alias of `SCMD()` for consistency with `KC_GUI` * Add `SGUI_T()` as an alias of `SCMD_T()` for consistency with `KC_GUI` * Make SGUI the primary name
* Fix swedish NO_GRVJohan Ju2018-02-121-2/+0
|
* Add the ability to disable Music Mode completely (#2339)Drashna Jaelre2018-02-081-3/+3
| | | | | | | | | | | | * 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
* Merge ChibiOS and LUFA descriptor support (#2362)fredizzimo2018-02-086-28/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move lufa descriptor to protocol/usb_descriptor * Try to compile usb_descriptor on ChibiOS * Add lufa_utils for ChibiOS Lufa USB descriptors for ChibiOS * More lufa_util compatibility fixes * First compiling version of shared USB descriptor * Send the usb descriptors * Fix the CONSOLE output on ChibiOS * Add errors for unsupported interfaces * Enable support for vitual serial port USB descriptors * Implement virtual serial port for ChibiOS * Cleanup the lufa_utils Use the default lufa header files * Add raw hid support for ChibiOS This is completely untested * Enable midi compilation on ChibiOS * Move midi functionality out of lufa.c * Don't register sysex callback when not needed * ChibiOS compilation fixes * Update ChibiOS submodule * Fix the Midi USB descriptor It didn't work properly when both Midi and Virtual serial port was enabled. * Add MIDI support for ChibiOS * Fix USB descriptor strings on ChibiOS * Use serial usb driver for raw hid * Generalize the ChibiOS stream like drivers This makes the initialization much more simple and eliminates a lot of the code duplication. * Convert console output to chibios stream driver * Fixes for ChibiOS update * Update the ChibiOS contrib submodule To include the usb data toggle synchronization fixes * Fix duplicate reset enumeration on ChibiOS * Add missing include * Add number of endpoints check for ChibiOS * Enable serial USB driver on all keyboards * Add missing includes when API is enabled withot midi * Add another missing inlcude
* ARM audio fixes, stack size increase (#2365)Jack Humbert2018-02-081-50/+230
| | | | | | | | | | * fix up arm audio implementation * chibios stack size inc * get one channel working * update for chibios
* Fixes to get tap dance to fire at proper places (#2272)scauligi2018-02-043-31/+53
| | | | | | | | * tap dance fixes: fire immediately upon completion and also get properly interrupted before macros * bugfix for tapdance improvement * fix build
* Imperial Match (Darth Vader's Theme) addedMitchell van Manen2018-02-011-0/+6
| | | crappy recording: https://clyp.it/0lufqils
* Add missing parenthesis back to backlight_tickMichael Kaylan2018-02-011-1/+1
|
* Backlighting for JJ40 and underglow initialisation code (#2260)Kenneth Aloysius2018-01-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cleanup Mechmini keymap. Once the custom RGB function is defined, there is no need to manually handle RGB code. * Change default to KEYMAP_MIT, not KEYMAP_OFFSET * Add custom RGB code for JJ40 * Reset Mechmini advertised power draw to 500. Will have to test actual maximum power draw later. * RGB working on JJ40. * Fix: saturation increase/decrease flipped * Add new directory for my custom keymap with RGB keycodes * Swap LAlt and LGUI * Update JJ40 max power draw with measured value * Update: fun40 rules.mk to enable underglow; earlier failed Travis CI * Fix: init RGB LEDs on boot. Also added HHKB-like keymap for XD60. * Super rudimentary backlight test, init RGB LEDs on boot * Backlighting works - stays on for now * Toggling working * Now can override backlight.c functions. Problem was functions in backlight.c weren't called before due to a lack of matrix_scan_quantum() in matrix.c * Timers not working * Delete global.h * Cleanup * Compiles * Good sign: LEDs stop working again * Handle timer1 overflow * Progress: fix: forgot to init * Backlighting fully working now except breathing. * Revert keymap to original keycodes * Update XD60 keymap README * Update JJ40 keymap with backlight toggles * Breathing working just fine. * Update references * Add backlight_set() call * Cleanup code to disable backlight * Fix: does not compile * Fix: missing call to rgblight_task. * Testing with BACKLIGHT_BREATHING * Cleanup * Cleanup comments * More commenting cleanup. * Do not enable BACKLIGHT_BREATHING by default
* Fix up the ARM audio support (#2136)skullydazed2018-01-133-114/+131
| | | | | | | | | | | | | | * Get audio working on clueboard/60 * add keys for music mode * Change doubles to floats * add keys for all the songs * revert to the default startup sound * Remove music mode until we can figure out why it crashes
* added the possibility to hav shifted(modded) tap dancepmalecka2018-01-122-0/+5
|
* ADD RGBLIGHT_LIMIT_VAL (#2214)YouCanFly2018-01-021-0/+6
|
* backlight breathing overhaul (#2187)Balz Guenat2018-01-014-263/+181
| | | | | | | | | | | | | | | | | | | | * 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
* Fix of #2094Mikkel Jeppesen2017-12-311-6/+6
|
* Adding a Zelda Treasure sound.Colin Miller2017-12-211-0/+6
| | | | It's the sound that's made when opening a treasure chest.
* Add on/off/toggle keycodes for Auto ShiftDrashna Jael're2017-12-203-12/+40
|
* Add toggle option to AutoShiftU-LANDSRAAD\drashna2017-12-202-0/+16
|
* Add COSPAD to QMK and add functions to read HSV (#2156)kamisamamizu2017-12-172-0/+15
| | | | | | | | | | | | | | | | | * Added functions to read HSV values I have added three functions to rgb_light.c to be able to read the hue, saturation and value from other places. They are rgblight_get_hue(), rgblight_get_sat(), adn rgblight_get_val(). * Create keymap.c * Add COSPAD support to QMK I have ported the COSPAD numpad to qmk. * Update readme.md * Update cospad.c
* new planck keymap, new feature - hybrid shift/enter action key (great for ↵Zach Richard2017-12-142-0/+26
| | | | | | | | 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
* fixes audio/midi combinationsJack Humbert2017-12-101-1/+4
|
* fixes midi compile errorJack Humbert2017-12-101-1/+3
|
* fix up midi stuff w/music modeJack Humbert2017-12-104-11/+83
|
* Add 'rgblight_disable' and 'rgblight_setrgb_at/rgblight_sethsv_at'Colin T.A. Gray2017-12-082-11/+38
| | | | | Refactors rgblight_toggle to use rgblight_enable or rgblight_disable Use 'rgblight_setrgb_at/rgblight_sethsv_at' to control an individual LED
* move lcd_backlight_keyframes to correct locationJack Humbert2017-12-071-0/+30
|
* fixes case where BACKLIGHT_BREATHING is enabled, but pin doesn't support PWMColin T.A. Gray2017-12-071-0/+6
|
* adds 'RGB_RMOD' to go through RGB modes in reverseColin T.A. Gray2017-12-042-8/+17
|
* Flesh out the grave escape overridesskullY2017-12-031-2/+25
|
* Updates bootloader settings, adds file size check (#2029)Jack Humbert2017-11-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull fuse settings for bootloader jump * fix 32a chips * make automatic bootloader selection optional * quantify bootloaders * fixs #164, speeds up dfu reset * fix for chips w/o usb * missing an n * fix bootloader sizes, use words for addresses * fix bmini, pearl, and [[ issue, make things quiet * ignore avr errors on arm for now * update settings for the light * document bootloader stuff * add bootloader title
* adds planck light keyboardJack Humbert2017-11-202-3/+5
|