summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/lufa
Commit message (Collapse)AuthorAgeFilesLines
* rgblight.[ch] more configurable (#3582)Takeshi ISHII2018-09-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add temporary test code rgblight-macro-test1.[ch] * rgblight.h : mode auto numberring and auto generate mode name symbol No change in build result. * rgblight.c use RGBLIGHT_MODE_xxx symbols No change in build result. * quantum.c use RGBLIGHT_MODE_xxx symbols No change in build result. * fix build break. when RGB_MATRIX_ENABLE defined * add temporary test code rgblight-macro-test2.[ch] * modify rgblight_mode_eeprom_helper() and rgblight_sethsv_eeprom_helper() * modify rgblight_task() * configurable each effect compile on/off in config.h * update docs/feature_rgblight.md * fix conflict. docs/feature_rgblight.md * remove temporary test code rgblight-macro-test*.[ch] * fix comment typo. * remove old mode number from comment * update docs/feature_rgblight.md about effect mode * Revert "update docs/feature_rgblight.md about effect mode" This reverts commit 43890663fcc9dda1899df7a37d382fc38b1a6d6d. * some change docs/feature_rgblight.md * fix typo * docs/feature_rgblight.md update: revise mode number table
* Generate API docs from source code comments (#2491)skullydazed2018-03-222-6/+116
| | | | | | | | | | | | | | | | | | * 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
* Merge ChibiOS and LUFA descriptor support (#2362)fredizzimo2018-02-084-1596/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 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()
* 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
* 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
* Force Raw HID interface number to 1 always (#1669)Wilba65822017-09-061-10/+13
|
* Add compile error if too many endpoints are defined for the ATmega32U4.Joe Wasson2017-08-201-1/+2
|
* update lufa implementationJack Humbert2017-07-072-2/+2
|
* delete old lufaJack Humbert2017-07-07525-101214/+0
|
* Adafruit Feather BLE / BLE Friend mouse buttons supportPriyadi Iman Nurcahyo2017-05-293-3/+21
|
* Use variable to disable usb check at startupyiancar2017-05-261-1/+1
| | | | | | Adds a define variable which when defined disables the usb startup check. Modified the makefile to separate above define from bluetooth dependancy
* Add RN42 Bluetooth module supportTravis La Marr2017-03-292-2/+33
| | | | Added support for sending HID keycodes over the RN42/reflashed HC05 module. Tested on OS X and iOS.
* Merge pull request #1112 from newsboytko/newsboytko/midi-keycodesJack Humbert2017-03-282-6/+15
|\ | | | | Flesh out MIDI support
| * Split MIDI functionality into MIDI_BASIC and MIDI_ADVANCEDGabriel Young2017-02-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MIDI_ENABLE = no text data bss dec hex filename 0 17080 0 17080 42b8 satan_midi.hex MIDI_ENABLE = yes MIDI_BASIC undefined MIDI_ADVANCED undefined text data bss dec hex filename 0 19494 0 19494 4c26 satan_midi.hex MIDI_ENABLE = yes #define MIDI_BASIC MIDI_ADVANCED undefined text data bss dec hex filename 0 19788 0 19788 4d4c satan_midi.hex MIDI_ENABLE = yes MIDI_BASIC undefined #define MIDI_ADVANCED text data bss dec hex filename 0 20846 0 20846 516e satan_midi.hex MIDI_ENABLE = yes #define MIDI_BASIC #define MIDI_ADVANCED text data bss dec hex filename 0 21140 0 21140 5294 satan_midi.hex
| * implement modulationGabriel Young2017-02-191-1/+1
| |
| * initial implementation of polyphony using variable length array of notes onGabriel Young2017-02-192-5/+10
| |
* | Add BLE and EZKey module defines.Travis La Marr2017-03-241-4/+4
| | | | | | | | Also restored serial init back to original location. Was getting junk data.
* | Readd bluetooth output direction on standard key input.Travis La Marr2017-03-241-8/+10
| |
* | Refactor Bluetooth HandlingTravis La Marr2017-03-244-48/+40
|/ | | | | | | | | | | | | | | Refactored Bluetooth support to make adding new Bluetooth modules easier in the future. * Remove `OUT_BLE` key from QMK's keymap. `OUT_BT` is all we need now as there's no difference anymore. * Made BLUETOOTH_ENABLE build option legacy as not to break existing keymaps (Falls back to existing EZ Key support if on) * Removed `ADAFRUIT_BLE_ENABLE` build option * Created new build option `BLUETOOTH` with module option (Currently `AdafruitEZKey` & `AdafruitBLE`) * Moved all LUFA bluetooth key/mouse events under `BLUETOOTH_ENABLE` ifdef with selected modules output.
* Fix wrong includePriyadi Iman Nurcahyo2017-02-011-1/+1
|
* Limit outputselect to AVR only for nowPriyadi Iman Nurcahyo2017-02-012-0/+97
|
* Move outputselect to parent dir to satisfy non LUFA keyboardsPriyadi Iman Nurcahyo2017-02-012-97/+0
|
* Implement runtime selectable output (USB or BT)Priyadi Iman Nurcahyo2017-02-013-69/+144
|
* API Sysex fixesFred Sundvik2016-12-292-11/+25
| | | | | | | | 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
* Fixes issue #900Wilba65822016-12-202-4/+4
|
* Allow power consumption to be set per-keyboard.Kyle Smith2016-12-141-1/+4
|
* Allow negative values for mouse movementsPriyadi Iman Nurcahyo2016-12-101-1/+1
|
* Merge pull request #921 from Wilba6582/raw_hidJack Humbert2016-12-053-8/+208
|\ | | | | Initial version of Raw HID interface
| * Initial version of Raw HID interfaceWilba65822016-12-013-8/+208
| |
* | Connect the adafruit ble code to the lufa main loopWez Furlong2016-12-021-11/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now 3 potential locations to send HID reports: 1. USB 2. The bluefruit easy key 3. Adafruit BLE Generally speaking, if USB is connected then we should prefer to send the reports there; it is generally the best channel for this. The bluefruit module has no feedback about bluetooth connectivity so the code must speculatively send reports over both USB and bluetooth. The BLE module has connectivity feedback. In general we want to prefer to send HID reports over USB while connected there, even if BLE is connected. Except that it is convenient to force them over BLE while testing the implementation. This policy has been extracted out into a where_to_send function which returns a bitmask of which of the channels should be used.
* | Merge pull request #915 from wez/ble_3Jack Humbert2016-12-023-0/+931
|\ \ | |/ |/| Add support for Adafruit BLE modules
| * Add support for Adafruit BLE modulesWez Furlong2016-11-273-0/+931
| | | | | | | | | | | | | | | | | | This implements some helper functions that allow sending key reports to an SPI based Bluetooth Low Energy module, such as the Adafruit Feather 32u4 Bluefruit LE. There is some plumbing required in lufa.c to enable this; that is in a follow-on commit.
* | separated into api files/folderJack Humbert2016-11-262-254/+10
| |
* | rgblight fixesJack Humbert2016-11-231-1/+1
| |
* | travis plsJack Humbert2016-11-232-48/+43
| |
* | converted to new formatJack Humbert2016-11-232-115/+192
| |
* | converted to 8bit messagesJack Humbert2016-11-231-51/+68
| |
* | cleaning up mididJack Humbert2016-11-211-1/+1
| |
* | cleaning up new codeJack Humbert2016-11-211-63/+27
| |
* | working with helper, qmk_helper_windows@05b0105Jack Humbert2016-11-211-0/+6
| |
* | more structure to the packageJack Humbert2016-11-212-22/+100
| |
* | midi back and forthJack Humbert2016-11-182-17/+46
| |
* | rgb light through midiJack Humbert2016-11-171-0/+96
| |
* | animations, midi, etcJack Humbert2016-11-151-2/+3
| |
* | mostly workingJack Humbert2016-11-131-3/+30
|/
* Use keyboard config for nkro (#7)IBNobody2016-09-061-1/+8
| | | | | | * removing nkro references - wip * changed NKRO to be defined by keymap_config
* Change NKRO size fron 16 bytes to 32 bytes.IBNobody2016-09-061-6/+6
|
* Normalize line endingsFred Sundvik2016-08-2713-2184/+2184
|
* move to ergodox-ez onlyJason Green2016-08-231-1/+1
|