summaryrefslogtreecommitdiffstats
path: root/quantum
AgeCommit message (Collapse)AuthorFilesLines
2018-04-12Added support for audio using pins C4, C5, B6, B7Michael L. Walker1-74/+114
2018-04-07Improve state/chord handling and clean up namespaceSeebs2-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.
2018-04-06change KEYMAP to LAYOUT for all new keyboards made using this scriptmechmerlin2-2/+2
2018-03-28Fix commands and update my userspace (for testing)U-LANDSRAAD\drashna2-38/+54
2018-03-28add RGB commands as global functionsU-LANDSRAAD\drashna1-0/+44
2018-03-28Add Support for Software Workman (#2632)Jacob Jerrell2-0/+124
This adds the keymap translations and sendstring definitions to support software workman.
2018-03-26add grave to auto-shift.Jason Stillwell1-0/+1
2018-03-26change rgblight_increase_val() and eeconfig_update_rgblight_default(), use ↵mtei1-7/+9
RGBLIGHT_LIMIT_VAL insted of 255.
2018-03-25New keymap and more songs (#2609)Joshua Coffey1-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
2018-03-25Fix #1566 - NKRO reseting issueU-LANDSRAAD\drashna1-2/+1
2018-03-21Add macro for momentarily switching to a layer while some mods are active ↵snyman2-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
2018-03-16Rule to enable Modifiers with Auto-Shift (#2542)Jason Stillwell1-0/+4
* Re-enable modifiers with auto-shift * Auto-shift modifiers rule * missed a line * Documentation * fixing whitespace
2018-03-16Duplicate KC space to UK (#2541)Kenny Hung1-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
2018-03-16Add CMD and WIN aliases for KC_GUI, GUI(kc), GUI_T(kc), etc.fauxpark2-0/+12
2018-03-16Add keycodes for swap-hands feature.Joe Wasson2-0/+20
2018-03-16Create sendstring_spanish.hDaniel Rodríguez Rivero1-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.
2018-03-16Add italian keymapNicola Gargagli1-0/+122
2018-03-16Fixed various keymaps and the allocation of "key_combos" (#2526)Brian Choromanski1-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
2018-03-09Add SS_RALT for AltGR usage in macrosDrashna Jael're1-0/+1
2018-03-07quantum: keympa_extra: add sendstring_bepo.hcrazyiop1-0/+41
2018-03-07quantum: keymap_bepo.h: fix typo in BP_COMMMAcrazyiop1-1/+1
2018-03-02Fix the SGUI aliasesskullY1-4/+4
2018-03-01Add `SGUI()` and `SGUI_T()` for consistency with `KC_GUI` (#2442)skullydazed1-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
2018-02-12Fix swedish NO_GRVJohan Ju1-2/+0
2018-02-08Add the ability to disable Music Mode completely (#2339)Drashna Jaelre1-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
2018-02-08Merge ChibiOS and LUFA descriptor support (#2362)fredizzimo6-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
2018-02-08ARM audio fixes, stack size increase (#2365)Jack Humbert1-50/+230
* fix up arm audio implementation * chibios stack size inc * get one channel working * update for chibios
2018-02-04Fixes to get tap dance to fire at proper places (#2272)scauligi3-31/+53
* tap dance fixes: fire immediately upon completion and also get properly interrupted before macros * bugfix for tapdance improvement * fix build
2018-02-02Imperial Match (Darth Vader's Theme) addedMitchell van Manen1-0/+6
crappy recording: https://clyp.it/0lufqils
2018-02-02Add missing parenthesis back to backlight_tickMichael Kaylan1-1/+1
2018-01-18Backlighting for JJ40 and underglow initialisation code (#2260)Kenneth Aloysius1-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
2018-01-14Fix up the ARM audio support (#2136)skullydazed3-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
2018-01-12added the possibility to hav shifted(modded) tap dancepmalecka2-0/+5
2018-01-03ADD RGBLIGHT_LIMIT_VAL (#2214)YouCanFly1-0/+6
2018-01-01backlight breathing overhaul (#2187)Balz Guenat4-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
2018-01-01Fix of #2094Mikkel Jeppesen1-6/+6
2017-12-22Adding a Zelda Treasure sound.Colin Miller1-0/+6
It's the sound that's made when opening a treasure chest.
2017-12-20Add on/off/toggle keycodes for Auto ShiftDrashna Jael're3-12/+40
2017-12-20Add toggle option to AutoShiftU-LANDSRAAD\drashna2-0/+16
2017-12-17Add COSPAD to QMK and add functions to read HSV (#2156)kamisamamizu2-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
2017-12-14new planck keymap, new feature - hybrid shift/enter action key (great for ↵Zach Richard2-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
2017-12-10fixes audio/midi combinationsJack Humbert1-1/+4
2017-12-10fixes midi compile errorJack Humbert1-1/+3
2017-12-10fix up midi stuff w/music modeJack Humbert4-11/+83
2017-12-08Add 'rgblight_disable' and 'rgblight_setrgb_at/rgblight_sethsv_at'Colin T.A. Gray2-11/+38
Refactors rgblight_toggle to use rgblight_enable or rgblight_disable Use 'rgblight_setrgb_at/rgblight_sethsv_at' to control an individual LED
2017-12-07move lcd_backlight_keyframes to correct locationJack Humbert1-0/+30
2017-12-07fixes case where BACKLIGHT_BREATHING is enabled, but pin doesn't support PWMColin T.A. Gray1-0/+6
2017-12-04adds 'RGB_RMOD' to go through RGB modes in reverseColin T.A. Gray2-8/+17
2017-12-03Flesh out the grave escape overridesskullY1-2/+25
2017-11-28Updates bootloader settings, adds file size check (#2029)Jack Humbert1-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