summaryrefslogtreecommitdiff
path: root/quantum
AgeCommit message (Collapse)Author
2018-04-13Fix incorrect port direction setting in my previous pull request for pins ↵walkerstop
B5, B6, B7 (#2739) * Added support for audio using pins C4, C5, B6, B7 * Fixed bug where port direction wasn't set correctly for B5, B6, B7 audio ports
2018-04-12Added support for audio using pins C4, C5, B6, B7Michael L. Walker
2018-04-07Improve state/chord handling and clean up namespaceSeebs
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-05change KEYMAP to LAYOUT for all new keyboards made using this scriptmechmerlin
2018-03-28Fix commands and update my userspace (for testing)U-LANDSRAAD\drashna
2018-03-28add RGB commands as global functionsU-LANDSRAAD\drashna
2018-03-28Add Support for Software Workman (#2632)Jacob Jerrell
This adds the keymap translations and sendstring definitions to support software workman.
2018-03-26add grave to auto-shift.Jason Stillwell
2018-03-26change rgblight_increase_val() and eeconfig_update_rgblight_default(), use ↵mtei
RGBLIGHT_LIMIT_VAL insted of 255.
2018-03-25New keymap and more songs (#2609)Joshua Coffey
* 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\drashna
2018-03-20Add macro for momentarily switching to a layer while some mods are active ↵snyman
(#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 Stillwell
* 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 Hung
* 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.fauxpark
2018-03-16Add keycodes for swap-hands feature.Joe Wasson
2018-03-16Create sendstring_spanish.hDaniel Rodríguez Rivero
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 Gargagli
2018-03-16Fixed various keymaps and the allocation of "key_combos" (#2526)Brian Choromanski
* 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're
2018-03-07quantum: keympa_extra: add sendstring_bepo.hcrazyiop
2018-03-07quantum: keymap_bepo.h: fix typo in BP_COMMMAcrazyiop
2018-03-01Fix the SGUI aliasesskullY
2018-03-01Add `SGUI()` and `SGUI_T()` for consistency with `KC_GUI` (#2442)skullydazed
* 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 Ju
2018-02-08Add the ability to disable Music Mode completely (#2339)Drashna Jaelre
* 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)fredizzimo
* 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 Humbert
* 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)scauligi
* tap dance fixes: fire immediately upon completion and also get properly interrupted before macros * bugfix for tapdance improvement * fix build
2018-02-01Imperial Match (Darth Vader's Theme) addedMitchell van Manen
crappy recording: https://clyp.it/0lufqils
2018-02-01Add missing parenthesis back to backlight_tickMichael Kaylan
2018-01-18Backlighting for JJ40 and underglow initialisation code (#2260)Kenneth Aloysius
* 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-13Fix up the ARM audio support (#2136)skullydazed
* 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 dancepmalecka
2018-01-02ADD RGBLIGHT_LIMIT_VAL (#2214)YouCanFly
2018-01-01backlight breathing overhaul (#2187)Balz Guenat
* 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
2017-12-31Fix of #2094Mikkel Jeppesen
2017-12-21Adding a Zelda Treasure sound.Colin Miller
It's the sound that's made when opening a treasure chest.
2017-12-20Add on/off/toggle keycodes for Auto ShiftDrashna Jael're
2017-12-20Add toggle option to AutoShiftU-LANDSRAAD\drashna
2017-12-17Add COSPAD to QMK and add functions to read HSV (#2156)kamisamamizu
* 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 Richard
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 Humbert
2017-12-10fixes midi compile errorJack Humbert
2017-12-10fix up midi stuff w/music modeJack Humbert
2017-12-08Add 'rgblight_disable' and 'rgblight_setrgb_at/rgblight_sethsv_at'Colin T.A. Gray
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 Humbert
2017-12-07fixes case where BACKLIGHT_BREATHING is enabled, but pin doesn't support PWMColin T.A. Gray
2017-12-04adds 'RGB_RMOD' to go through RGB modes in reverseColin T.A. Gray
2017-12-03Flesh out the grave escape overridesskullY