summaryrefslogtreecommitdiffstats
path: root/tmk_core
Commit message (Collapse)AuthorAgeFilesLines
* Add a custom USB driver for ARM (#2750)fredizzimo2018-04-154-42/+729
| | | | | | | | | | | | | | | | | | | | * Copy Chibios serial_usb_driver into the chibios/protocol It's renamed to usb_driver to avoid name conflicts * Make the usb driver compile * Disable ChibiOS serial usb driver for all keyboards * Change usb_main to use QMKUSBDriver * Initialize the usb driver buffers * Add support for fixed size queues * Fix USB driver initialization * Don't transfer an empty packet for fixed size streams
* Tabs to spaces in usb_descriptor.hfauxpark2018-04-111-17/+17
|
* Update whitefox to use the K-Type teensy workaroundKaleb Elwert2018-04-031-0/+3
|
* Properly always copy firmwareU-LANDSRAAD\drashna2018-03-291-9/+9
| | | | | This finishes fixing #2314, which mostly copies the firmware when compiling. However, it misses `:teensy`, `:avrdude` and most importantly, `:production`
* Fix RGB Sleep codeU-LANDSRAAD\drashna2018-03-281-1/+1
|
* Better non-Linux support (#2524)dankm2018-03-262-13/+14
| | | | | | | | | | | | | * grep -> $(GREP) Some UNIXy systems (FreeBSD for example) don't use GNU grep by default. Allow the user to specify which grep implementation to use so that GNU grep can be specified. * Allow using versioned avr-gcc command Don't hardcode "avr-gcc", and allow strings such as "avr-gcc8", or "avr-gcc-7.3.0" to match checks for "avr-gcc".
* add syscalls.c if autoshift is enabled, to fix compile issue on ChibiOSU-LANDSRAAD\drashna2018-03-251-0/+3
|
* Generate API docs from source code comments (#2491)skullydazed2018-03-2225-70/+732
| | | | | | | | | | | | | | | | | | * Generate api docs from source code * Add a bunch of doxygen comments * more doxygen comments * Add the in-progress api docs * script to generate docs from travis * Add doc generation to the travis job * make travis_docs.sh commit the work it does * make sure the docs script exits cleanly
* [Proposal?] Allow RGB Underglow to turn off when host is idle/asleep (#2104)Drashna Jaelre2018-03-191-1/+15
| | | | | | | | | | * Add RGB Underglow Sleeping * Add RGBLIGHT_SLEEP to toggle/control RGB light behavior * Update rgb docs * Update for RGB disable command
* Add CMD and WIN aliases for KC_GUI, GUI(kc), GUI_T(kc), etc.fauxpark2018-03-161-0/+5
|
* Fix swap-hands tapping.Joe Wasson2018-03-164-9/+50
| | | | This is an inelegant hack for #2522 but makes things work. Basically we give `action.c` a chance to handle the hold event early so that we can swap the keyboard for later keys. Later, to allow the hold to happen again quickly we nuke the key record so that tapping is reset. I tried to find a cleaner way, honestly.
* Rename ONEHAND_ENABLE to SWAP_HANDS_ENABLE for consistencyJoe Wasson2018-03-163-6/+9
|
* fix generate Keyboard.huplus2018-03-161-9/+9
|
* Fixed dead links (#2451)Brian Choromanski2018-03-013-8/+8
| | | | | | | | * Fixed typo of 'confid.h' to 'config.h' * Fixed broken links in docs * Fixed a lot of dead links
* Remap msys2 usb, fix USB port detection (#2301)Danny2018-02-281-0/+4
| | | | | | * Add AVRDUDE to MSYS2 setup * Remap detected USB port in MSYS2 to COM port
* Change the CDC_NOTIFICATION_EPSIZE back to 8 from 32Fred Sundvik2018-02-121-1/+1
|
* Fix reset for STM32 devicesFred Sundvik2018-02-101-17/+17
|
* add conditional to perform check-size only for supported architecturesMichael F. Lamb2018-02-081-0/+5
|
* make check_size work across platformsMichael F. Lamb2018-02-081-1/+1
|
* Switch from echo to printf for output without newlinesDanny Nguyen2018-02-081-2/+2
|
* Only search through newly detected devices and discard ones that disappearedDanny Nguyen2018-02-081-2/+3
|
* Merge ChibiOS and LUFA descriptor support (#2362)fredizzimo2018-02-0818-1161/+676
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+1
| | | | | | | | | | * fix up arm audio implementation * chibios stack size inc * get one channel working * update for chibios
* Send usb wakeup through ChibiOSFred Sundvik2018-02-073-26/+2
|
* Update ChibiOS to 17.6.3Fred Sundvik2018-02-071-6/+5
|
* Update personal layouts, free up matrix_scan_user for JJ40 (#2319)Kenneth Aloysius2018-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add NIU Mini keymap from Planck keymap * Remove old keymap files * Fix README, removed Planck references * Add default layout, move Planck layout to separate folder * Update README * Add my XD60 keymap * Change RShift to slash * Fix keymap: stuck on MO(1) * Move RESET to Fn+Enter * Add: RGB saturation cycle * Add numpad layer to keymap * Fix last case * 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 * Update XD60 keymap * Update: move matrix_scan_kb out from matrix.c to jj40.c (kb-level) * Cleanup for PR * Fix conflict in readme.md for NIU mini * Restore original power consumption figure * Fix: matrix_scan_user() now has to be defined in the keymaps * Add weak `matrix_scan_user` so it does not have to be defined in keymap * Add weak matrix_init_user()
* Use perl directly instead of grep -PErin Call2018-02-021-1/+1
| | | | | BSD grep (the one on OSX) lacks a -P flag. The grep -P command thus fails and prints a usage message to the terminal. This fixes that.
* Always copy the firmware file to the root qmk_firmware directory (#2314)skullydazed2018-01-283-6/+6
| | | | | | * Always copy the firmware file to the root qmk_firmware directory * remove circular dependency
* Revert back to normal sleeping wait behaviour for STM32Fred Sundvik2018-01-211-7/+2
|
* Fix compiler settings for MCUs with floating pointFred Sundvik2018-01-211-9/+25
|
* Backlighting for JJ40 and underglow initialisation code (#2260)Kenneth Aloysius2018-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add -e to enable interpretation of escape charactersDanny Nguyen2018-01-121-2/+2
|
* backlight breathing overhaul (#2187)Balz Guenat2018-01-013-5/+14
| | | | | | | | | | | | | | | | | | | | * 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
* Unsign key argument in add_key_to_reportfauxpark2017-12-192-3/+3
|
* make 'layer_state_set' visible to user codeColin T.A. Gray2017-12-152-6/+13
|
* fixes 'layer_state_cmp' when layer is '1' (aka layer 0, aka layer 1<<0)Colin T.A. Gray2017-12-151-2/+2
|
* helper to compare current layer_state to user layerColin T.A. Gray2017-12-082-0/+12
| | | | | Performs the same bit comparison that the layer_move functions perform
* Updates bootloader settings, adds file size check (#2029)Jack Humbert2017-11-274-104/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* I found a typo!Colin T.A. Gray2017-11-221-1/+1
|
* Allow multiple process_record() calls per scanSeebs2017-11-211-0/+11
| | | | | | | | | | | | | This is particularly relevant for, e.g., the ergodox EZ and other keyboards with slow scan rates. Without changing the API or behavior of individual process_record() calls, we allow a configuration flag to make multiple calls in a single scan. This will probably have miniscule effects on non-steno users, and it's not enabled by default for any keyboards. Added note about it to ergodox README. Signed-off-by: seebs <seebs@seebs.net>
* Adds serial number string to USB descriptors (#1996)Jack Humbert2017-11-171-1/+17
| | | | | | * add serial number string to usb descriptors * better name for serial number
* QMK DFU bootloader generation (#2009)Jack Humbert2017-11-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | * adds :bootloader target * update planck and preonic revisions * remove references to .h files for planck * update preonic keymap * only add keyboard.h files that exist * add production target * hook things up with the new lufa variables * update rules for planck/preonic * back backlight key turn of status led when pressed * add manufacturer/product strings to bootloader
* add pgm_read_dword for Infinity ErgoDoxTakayuki Matsubara2017-11-061-0/+1
| | | | | | | | avoid the following error when `UNICODEMAP_ENABLE = yes`: ``` quantum/process_keycode/process_unicodemap.c:52:21: error: implicit declaration of function 'pgm_read_dword' ```
* adds per-layer rgb color option to ezJack Humbert2017-11-062-1/+8
|
* Adds .qmk file type as a target for QMK Toolbox (#1084)Jack Humbert2017-11-012-0/+48
| | | | | | | | | | | | | | | | | | * adds .qmk file type as a target * adds info.json with vendor and product * add files for qmk info script * add layout file for planck * ignore .qmk files * more settings * update rules for avr and chibios * update .qmk generation for info.json and inheritence
* Fix pointing device featureRob Rogers2017-10-312-1/+6
|
* RETRO_TAPPING (#1922)tsankuanglee2017-10-312-3/+38
| | | | | | | | | | | | * add RETRO_TAP: tap anyway, even after TAP_TERM, if no interruption * consistent variable name * add option doc * change name for consistency * make RETRO_TAPPING default to off
* fix Logical Maximum to be recognized as 255 instead of -1Takayuki Matsubara2017-10-311-1/+1
| | | | SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312
* Fix avrdude message to not mention any specific device model.Phil Hagelberg2017-10-161-3/+3
|
* Added BLE support for USB-USB converter. (#1824)Benjamin Dengler2017-10-151-0/+3
| | | | | | | | * Added BLE support to USB-USB converter * Added readme * Removed images and Makefile