summaryrefslogtreecommitdiffstats
path: root/tmk_core
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08Switch from echo to printf for output without newlinesDanny Nguyen1-2/+2
2018-02-08Only search through newly detected devices and discard ones that disappearedDanny Nguyen1-2/+3
2018-02-08Merge ChibiOS and LUFA descriptor support (#2362)fredizzimo18-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
2018-02-08ARM audio fixes, stack size increase (#2365)Jack Humbert1-1/+1
* fix up arm audio implementation * chibios stack size inc * get one channel working * update for chibios
2018-02-07Send usb wakeup through ChibiOSFred Sundvik3-26/+2
2018-02-07Update ChibiOS to 17.6.3Fred Sundvik1-6/+5
2018-02-02Update personal layouts, free up matrix_scan_user for JJ40 (#2319)Kenneth Aloysius1-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()
2018-02-02Use perl directly instead of grep -PErin Call1-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.
2018-01-28Always copy the firmware file to the root qmk_firmware directory (#2314)skullydazed3-6/+6
* Always copy the firmware file to the root qmk_firmware directory * remove circular dependency
2018-01-21Revert back to normal sleeping wait behaviour for STM32Fred Sundvik1-7/+2
2018-01-21Fix compiler settings for MCUs with floating pointFred Sundvik1-9/+25
2018-01-18Backlighting for JJ40 and underglow initialisation code (#2260)Kenneth Aloysius1-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
2018-01-12Add -e to enable interpretation of escape charactersDanny Nguyen1-2/+2
2018-01-01backlight breathing overhaul (#2187)Balz Guenat3-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
2017-12-19Unsign key argument in add_key_to_reportfauxpark2-3/+3
2017-12-15make 'layer_state_set' visible to user codeColin T.A. Gray2-6/+13
2017-12-15fixes 'layer_state_cmp' when layer is '1' (aka layer 0, aka layer 1<<0)Colin T.A. Gray1-2/+2
2017-12-08helper to compare current layer_state to user layerColin T.A. Gray2-0/+12
Performs the same bit comparison that the layer_move functions perform
2017-11-28Updates bootloader settings, adds file size check (#2029)Jack Humbert4-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
2017-11-22I found a typo!Colin T.A. Gray1-1/+1
2017-11-21Allow multiple process_record() calls per scanSeebs1-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>
2017-11-17Adds serial number string to USB descriptors (#1996)Jack Humbert1-1/+17
* add serial number string to usb descriptors * better name for serial number
2017-11-14QMK DFU bootloader generation (#2009)Jack Humbert1-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
2017-11-06add pgm_read_dword for Infinity ErgoDoxTakayuki Matsubara1-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' ```
2017-11-06adds per-layer rgb color option to ezJack Humbert2-1/+8
2017-11-02Adds .qmk file type as a target for QMK Toolbox (#1084)Jack Humbert2-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
2017-11-01Fix pointing device featureRob Rogers2-1/+6
2017-10-31RETRO_TAPPING (#1922)tsankuanglee2-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
2017-10-31fix Logical Maximum to be recognized as 255 instead of -1Takayuki Matsubara1-1/+1
SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312
2017-10-16Fix avrdude message to not mention any specific device model.Phil Hagelberg1-3/+3
2017-10-16Added BLE support for USB-USB converter. (#1824)Benjamin Dengler1-0/+3
* Added BLE support to USB-USB converter * Added readme * Removed images and Makefile
2017-10-14Make arguments redo, subproject elimination (#1784)Jack Humbert2-5/+32
* redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * start to update readmes and keyboards * look in keyboard directories for board.mk * update visualizer rules * fix up some other keyboards/keymaps * fix arm board ld includes * fix board rules * fix up remaining keyboards * reset layout variable * reset keyboard_layouts * fix remainging keymaps/boards * update readmes, docs * add note to makefile error * update readmes * remove planck keymap warnings * update references and docs * test out tarvis build stages * don't use stages for now * don't use stages for now
2017-10-10Add option to reverse PS2 mouse axes and scrollingJesper Brix Rosenkilde1-0/+12
2017-10-10#1792 added in waits from tmk for locking switchesJoe Martin1-0/+3
fixes #1792
2017-10-06Generic Pointing Device (#1767)Snipeye1-0/+10
2017-09-30Don't process keycodes on the slaveFred Sundvik1-28/+35
2017-09-30Clueboard 60% support (#1746)skullydazed7-32/+61
* initial clueboard_60 support * LED lighting support * fix the clueboard->clueboard_66 rename * Add layout support to clueboard_60 * Fix the 60_iso layout so it's actually iso * add a default keymap for AEK layout * fix clueboard_17 * Fixup the ISO layouts * Fix the `wait_ms()/wait_us()` definitions for chibios * Fix up the wait_ms/wait_us hack. Reduce stack size. * Add a missing #include "wait.h" * commit files that should have already been comitted
2017-09-06Force Raw HID interface number to 1 always (#1669)Wilba65821-10/+13
2017-08-27add rule shortcut via @samwho's suggesionJack Humbert1-4/+2
2017-08-27add bin targets - closes #1648, fixes #1647Jack Humbert2-0/+8
2017-08-22update building for .hex, secrets movingJack Humbert1-2/+2
2017-08-20Fix compilation error when NO_ACTION_LAYER is defined.Joe Wasson1-1/+1
2017-08-20Add compile error if too many endpoints are defined for the ATmega32U4.Joe Wasson1-1/+2
2017-08-17Add message to avrdude script that it can't used within WSL currentlyDanny Nguyen1-12/+16
2017-08-16cleanup usb-usb converter codeBalz Guenat1-1/+0
2017-08-16some major steps toward making the usb-usb converter workBalz Guenat6-22/+55
2017-08-16Remove floating point calculation in mouse move. Saves approx 650 bytes if ↵Martin Sandiford1-3/+11
no other floating point used.
2017-08-13Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled ↵That-Canadian1-0/+2
it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14). Updated MiniDox split_util.h and eeprom files to reflect this change. I recommend adding this to any split board that used these files, my changes will not effect them currently.
2017-08-08move version info to the top of the outputJack Humbert1-5/+1
2017-08-08add version to make outputJack Humbert1-3/+7