summaryrefslogtreecommitdiff
path: root/quantum
AgeCommit message (Collapse)Author
2017-02-06Merge pull request #1030 from SjB/refactor_register_code16Jack Humbert
speeding up (un)register_code16
2017-01-29race condition between oneshot_mods and tap_danceSjB
since the keycode for a tap dance process gets process only after the TAPPING_TERM timeout, you really only have ONESHOT_TIMEOUT - TAPPING_TERM time to tap or double tap on the key. This fix save the oneshot_mods into the action.state structure and applies the mods with the keycode when it's registered. It also unregisters the mod when the the tap dance process gets reset.
2017-01-29registering a weak_mods when using register_code16SjB
Scenario: Locking the KC_LSHIFT, and then using a tap dance key that registers a S(KC_9) will unregister the KC_LSHIFT. The tap dance or any keycode that is registered should not have the side effect of cancelling a locked moditifier. We should be using a similar logic as the TMK codes in tmk_core/comman/action.c:158.
2017-01-27Clarify license on abnt2 keymap (#1038)Potiguar Faga
2017-01-24Merge pull request #1014 from SjB/lcd_mods_statusJack Humbert
added mods status bit to visualizer.
2017-01-23speeding up (un)register_code16SjB
In register_code16 and unregister_code16 we call register_code and unregister_code twice, once for the mods and once for the keycode. The (un)register_code have many check to see that keycode we have sent however because we know that we are sending it a mods key, why not just skip all of it and call (un)register_mods instead. This will skip alot of checks and should speedup the loop a little.
2017-01-23turn off rgb_midi in ezJack Humbert
2017-01-17added mods status bit to visualizer.SjB
Since we can't read the real_mods and oneshot_mods static variable directly within the update_user_visualizer_state function (Threading and serial link). We are know storing the mods states in the visualizer_keyboard_status_t structure. We can now display the status of the modifier keys on the LCD display.
2017-01-13Update quantum_keycodes.hJack Humbert
2017-01-12A shot at aliasingErez Zukerman
2017-01-11Adds SCMD and SCMD_TErez Zukerman
2017-01-09Unregister all mods before inputting Unicode, and reregister afterwardsPriyadi Iman Nurcahyo
2016-12-30Merge pull request #973 from Wilba6582/keycode_refactorJack Humbert
Keycode refactor
2016-12-30Merge pull request #974 from fredizzimo/remove_malloc_from_sysexJack Humbert
API Sysex fixes
2016-12-29Merge pull request #972 from mechkeys/rgb_compatJack Humbert
Add extern for 'led' global, set 'weak' attribute for rgblight_set()
2016-12-29Removed errant +Scott Wilson
2016-12-29API Sysex fixesFred Sundvik
Fix memory leaks by using stack instead of malloc Reduce memory usage by having less temporary bufffers Remove warnings by adding includes Decrease code size by 608 bytes (mostly due to not linking malloc) More robust handling of buffer overflows
2016-12-29Keycode refactorWilba6582
2016-12-28Add extern for 'led' global, set 'weak' attribute for rgblight_set()Scott Wilson
2016-12-28Merge pull request #968 from ofples/bugfix/right-modifiersJack Humbert
Fixed bug in do_code16
2016-12-23add different scales for music modeJack Humbert
2016-12-23Added check that makes sure a code is a right modifier before considering it ↵Ofer Plesser
as one
2016-12-23Christmas RGB light modeJack Humbert
2016-12-21initial subatomic keymap (text)Jack Humbert
2016-12-20limit voices by default, add some drumsJack Humbert
2016-12-19rgb clean-up, api clean-upJack Humbert
2016-12-12specialise music variablesJack Humbert
2016-12-12re-enable audio and extrakeysJack Humbert
2016-12-02Merge pull request #914 from wez/ble_2Jack Humbert
Add arduino-alike GPIO pin control helpers
2016-12-02Annotates nordicErez Zukerman
2016-11-29Test layout for ErgoDox EZ manufacturing robotErez Zukerman
2016-11-28Merge branch 'master' of github.com:jackhumbert/qmk_firmware into wu5y7Jack Humbert
2016-11-27Add arduino-alike GPIO pin control helpersWez Furlong
Unlike the arduino functions, these don't take abstract pin numbers, they take pin labels like `B0`. Also, rather than taking very generic parameter names, these take slightly more descriptive enum values. These improve the clarity of code that would otherwise be inscrutable bit manipulation in tersely named port register names.
2016-11-26separated into api files/folderJack Humbert
2016-11-26fix strict-prototypes warningPriyadi Iman Nurcahyo
2016-11-26remove define checks. didn't work because of include ordering.Priyadi Iman Nurcahyo
2016-11-26add macro error when a required define is missingPriyadi Iman Nurcahyo
2016-11-26Fix unterminated ifndefPriyadi Iman Nurcahyo
2016-11-26PS2 pins configuration belongs to each keyboards config.hPriyadi Iman Nurcahyo
Each keyboard might have different pin configuration. And keeping this here will trigger redefinition warning on keyboards that have PS2 defines.
2016-11-25Removed commentofples
2016-11-25Added missing endif for ifdef __AVR_ATmega32U4__ and removed the unnecessary ↵ofples
one at the end of the file
2016-11-23travis plsJack Humbert
2016-11-23converted to new formatJack Humbert
2016-11-22Add japanese keymaph-youhei
2016-11-21Merge branch 'master' of github.com:jackhumbert/qmk_firmware into wu5y7Jack Humbert
2016-11-21cleaning up mididJack Humbert
2016-11-21cleaning up new codeJack Humbert
2016-11-21merging lets_splitJack Humbert
2016-11-19Fix the Space Cadet timeout codeGergely Nagy
Define a default TAPPING_TERM in quantum.c, for keyboards that do not have it set. Fixes the CI failure. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-11-19Add a timeout to space-cadet shift.Gergely Nagy
When one holds a Space Cadet shift, to have it act as a shift, so that mouse behaviour changes, when released without any other key pressed, it still registers a paren. To remedy this, add a hold timeout: if the key is held longer than TAPPING_TERM, it will not register the parens. Fixes #884, with the side-effect of not being able to have parens trigger the OS-side repeat anymore. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>