summaryrefslogtreecommitdiff
path: root/tmk_core
AgeCommit message (Collapse)Author
2019-08-15feat: force eeprom reset on flashFlorian Didron
2019-08-14Fix LT() crashing some ARM keyboards (#6529)Joel Challis
2019-08-13Extend allowed range of tappable keycodes to include modifiers (#5809)fauxpark
* Extend allowed range of tappable keycodes to include modifiers * Get rid of the magic numbers altogether * Remove some more magic numbers * Extract LM() functionality from ACT_LAYER_TAP * Use ACTION() macro everywhere
2019-08-13Removed print call to resolve #6364 (#6413)Jake Grossman
* Change print to dprintf to avoid buffer overflow * Add stdio header for dprintf * Fix included headers
2019-08-13Add support for TAP_CODE_DELAY to Hold-Tap keys (#5400)Drashna Jaelre
* Add support for TAP_CODE_DELAY to Hold-Tap keys * Better handling for tap code delay and caps version
2019-07-27Remove dynamic_keymap checkDrashna Jaelre
2019-07-27Change additional layer structure codeDrashna Jaelre
2019-07-27Additional changes for Layer State typedef compatibilityDrashna Jaelre
2019-07-27Fix bit count calculation for iterating layersRyan Caltabiano
2019-07-27Typedef'ed layer_state_t to uint32_t (#3637)Alex Ong
* Typedef'ed layer_state_t to uint32_t. This enables future work with layer_state_t to uint8_t for optimization purposes. * Removed accidental xeal60 commit * Revert to egyptian brackets, added sizeof(layer_state_t) so when layer_state_t is redefined it will automagically work. * Add additional typedefs * Add checks for setting layer state * Update tmk_core/common/action_layer.h Co-Authored-By: alex-ong <the.onga@gmail.com> * Revert commit.
2019-07-19Expand bootloader target to support most AVR boards (#6255)Drashna Jaelre
* Update the :bootloader target to pass along correct hardware info * Update make scripts to properly grab the settings (a big thanks to @yanfali) * Remove LUFA debug warnings
2019-07-19Make Caps Lock delay more reasonable (#6199)Drashna Jaelre
* Make Caps Lock delay more reasonable * Update documentation * Update docs/config_options.md Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com> * Update docs/config_options.md Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com>
2019-07-19Store backlight breathing state in EEPROM (#6105)fauxpark
* Store backlight breathing state in EEPROM * Reduce backlight_config.level from 6 bits to 4 (max 15 "on" levels) * Error out if BACKLIGHT_LEVELS is > 15 * Remove mention of default backlight pin in rules.mk template * Remove pointless comment
2019-07-19Adding rgb matrix speed into eeprom storage. (#5965)XScorpion2
Zeroing out spd in eeconfig_init_quantum Switched to block read & update Update tmk_core/common/eeconfig.h Co-Authored-By: Drashna Jaelre <drashna@live.com> Fixing init compile error Update eeconfig.c Dead / Missing API cleanup alignment
2019-07-19Skip unsupported firmware check message in silent mode (#5765)Drashna Jaelre
2019-07-19add 'objs-size' target into tmk_core/avr.mk (#5490)Takeshi ISHII
2019-07-19Usbasploader bootloader option addition (#6304)yiancar
* Added USBasp bootloader option for USBasploader * author comment * ifdef fix :) * Add usbasp target * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com>
2019-07-16Display firmware size percentage (#6307)fauxpark
2019-07-10Fix chibios so the dfu-suffix is only applied once. (#6270)skullydazed
2019-06-20Copy avr teensy flash logic to arm (#6016)zvecr
2019-06-06Fixes compile errors for massdrop keyboards (#70)Drashna Jaelre
2019-06-04Fix TO() and DF() calling layer_state_set_[kb,user] twice (#6003) (#62)Drashna Jaelre
2019-05-20Merge branch 'master' into fix/caps_lock_tap_hold_functionsFlorian Didron
2019-05-20Merge branch 'master' into fix/mouse_keysFlorian Didron
2019-05-20Merge branch 'master' into fix/oled_driver_for_splitsFlorian Didron
2019-05-17Make delay for Capslock in Hold-Tap functions configurable (#5497)Drashna Jaelre
* Increase delay for Hold-Tap register for CAPSLOCK Because it seems that the 80ms delay wasn't too much * Screw it, make the caps delay a define and make it configurable
2019-05-10Cleanup/rgb matrix (#5811)XScorpion2
* clean up rgb matrix extern usage Moved rgb matrix boiler plate into macros Rebased onto typing heatmap pr * Fixing the reversed frame buffer access in digital rain * Fixing digital rain & typing heatmap if keyreactive effects are not enabled * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> * Adding parenthesizes to DRIVER_LED_TOTAL where necessary * Updated docs * added notes about parentheses
2019-05-07rgb_led struct conversion (aka: Per led (key) type rgb matrix effects - part ↵XScorpion2
2) (#5783) * Initial conversion of the rgb_led struct * Converting last keyboard & updating effects to take advantage of the new structure * New struct should not be const * Updated docs * Changing define ___ for no led to NO_LED * Missed converting some keymap usages of the old struct layout
2019-05-07Updated rgb_led struct field modifier to flags (#5619)XScorpion2
Updated effects to test led flags Updated massdrop to use new flags field for led toggle
2019-05-06Re-fix Mousekey Movements (#5740)Drashna Jaelre
* Re-fix Mousekey Movements After the new movement model was instroduced, it broke diagonal momement, again. Reapplying fix from #3147 to both old and new acceleration method. * Make diagonal mouse report checks more readable Co-Authored-By: drashna <drashna@live.com>
2019-05-06Fix issuse with OLED Driver and Split Keyboard codeXScorpion2
2019-05-06Merge branch 'master' into enable_lto_optionFlorian Didron
2019-05-05Add option to enable LTO easily (#5674)Drashna Jaelre
* Add option to enable LTO easily and disable features that cause compiling errors with LTO * Add documentation about LTO option * Add to show_options
2019-05-03Add DFU Suffix for ARM boards (#5763)Drashna Jaelre
* Add DFU Suffix for ARM boards * Blindly flash DFU SUFFIX ARGS for now * Fix commented out check * Fix DFU Suffix Argument check Thank you jack! * Update Travis CI Scripts to include dfu-util So we can get dfu-suffix as well * Manually add dfu-suffix package * Use external repo for newer version of dfu-util One that includes dfu-suffix * Update .travis.yml * Silence unnecessary output from dfu-suffix
2019-04-30Merge pull request #34 from zsa/fix/mouse_movementFlorian Didron
Re-fix Mousekey Movements
2019-04-29Re-fix Mousekey MovementsDrashna Jaelre
2019-04-30Merge pull request #28 from zsa/fix/wake_on_chibosFlorian Didron
Fix wakeup function on ChibiOS
2019-04-25Fix wakeup function on ChibiOSDrashna Jaelre
Somebody was a very, very bad boy, and did a poor job of copy-pasting
2019-04-24fix LIB_SRC and QUANTUM_LIB_SRC for ARM (#5623)Takeshi ISHII
* fix LIB_SRC and QUANTUM_LIB_SRC for ARM(chibios) * remove ARFLAGS * tmk_core/arm_atsam.mk:AR: remove 'rcs'
2019-04-23Merge branch 'master' into fix/rgb_matrix_initFlorian Didron
2019-04-23Merge branch 'master' into fix/avr_gcc_compilerFlorian Didron
2019-04-22Init RGB Matrix EEPROMDrashna Jaelre
I'm not sure how to check if it's the same as RGBLIGHT's EEPROM, but if you don't init it, it **will not** work properly until it is initialized.
2019-04-22Make sure NOBITS is set on reset_keyDanny Nguyen
Patch from https://github.com/qmk/qmk_firmware/issues/3657#issuecomment-415147411 Long story short, in avr-gcc pre-8.2, reset_key was assigned to a memory area that was in a normal range, but when 8.2 came out, that memory got moved to an out of range area, causing errors like 0x800293 out of range. Apparently, this was fixed up in avr-gcc, but we haven't seen a release with the fix yet (we expected it in 8.3, but that didn't happen for some reason). What this commit does is move the reset_key back to the original memory location it was in before.
2019-04-22Improve mouse keys docs and constant speed modeMarkus Weimar
2019-04-12Remove keyboard description from Adafruit BLE device namefauxpark
2019-04-09Custom Tapping Term per key (#5009)Drashna Jaelre
* Add customizable tapping terms * Add Documentation * Fix function * Fixes * It's not a pointer * Add debugging output * Update documentation to be at least vaguely accurate * Use `get_tapping_term(tapping_key.event)` instead `e` doesn't include column and row information, properly. It registers as 255, regardless of the actual keypress. However `tapping_key.event` actually gives the correct column and row information. It appears be the correct structure to use. In fact, it looks like the issue is that `e` is actually the "TICK" structure, as defined in keyboard.h * Use variable tapping term value rather than define * Silly drashna - tapping_key.event, not event * add get_event_keycode() function * Fix typo Co-Authored-By: drashna <drashna@live.com> * Remove post_process_record_quantum since it's the wrong PR * Update quantum/quantum.c Co-Authored-By: drashna <drashna@live.com> * Better handle ifdef statement for permissive hold Since we can't be sure that tapping term is actually 500 * Update quantum.c comments based on feedback * Clean up get_tapping_term function Clean up function so that users don't need to call the event function, and instead only check the keycode * Add ability to run functionality on and off * Make ifdef's more compact
2019-04-09RGB Matrix support for Massdrop CTRL/ALT (#5328)Daniel Prilik
* port Massdrop CTRL/ALT to use RGB Matrix Co-authored-by: Matt Schneeberger <helluvamatt@gmail.com> * Massdrop lighting support working This commit is to get the Massdrop lighting code working again through use of the compilation define USE_MASSDROP_CONFIGURATOR added to a keymap's rules.mk. Added keymaps for both CTRL and ALT named default_md and mac_md. These should be used if the Massdrop style lighting is desired. * Updating config based on testing results with patrickmt & compile errors * Updates for PR5328 For CTRL and ALT: Moved location of new RGB Matrix macros from config_led.h to config.h. Added RGB_MATRIX_LED_FLUSH_LIMIT (time between flushes) to config.h for correct LED driver update timing. Re-added missing breathing code for when Massdrop configurator mode is defined. * remove prilik keymap form PR
2019-03-27build size-check enhancement (#5485)Takeshi ISHII
* build size-check enhancement Changed to display a warning when the free size of compilation result is less than 512 bytes. * update message.mk * add SIZE_MARGIN variable, change default margin 512 to 1024 for Example. ``` $ make SIZE_MARGIN=2048 crkbd:all $ make crkbd:all ## mergin is 1024 ``` * Update message.mk change message to ‘approaching the maximum’ Co-Authored-By: mtei <2170248+mtei@users.noreply.github.com>
2019-03-26Add 3 speed mousekey movement option (#2246)Jon Arintok
This allows for constant, non-accelerated mouse movement, while retaining the original functionality. Configurable by a define.
2019-03-18correct typo in eeprom split target for dfu (#5445)Rob Rogers