summaryrefslogtreecommitdiff
path: root/tmk_core
AgeCommit message (Collapse)Author
2017-03-24Add BLE and EZKey module defines.Travis La Marr
Also restored serial init back to original location. Was getting junk data.
2017-03-24Readd bluetooth output direction on standard key input.Travis La Marr
2017-03-24Refactor Bluetooth HandlingTravis La Marr
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.
2017-02-25Removes redundant {} which cause build failure when DEBUG_ACTION is setPhong Nguyen
2017-02-14Merge pull request #1101 from priyadi/layer_state_set_kbJack Humbert
Add weak layer_state_set_kb hook
2017-02-15Fix bug fix attemptPriyadi Iman Nurcahyo
2017-02-15Bug fix & added default_layer_state_set_kbPriyadi Iman Nurcahyo
2017-02-15Add layer_state_set_kb hookPriyadi Iman Nurcahyo
2017-02-13Implement faux-clicky featurePriyadi Iman Nurcahyo
2017-02-12Supress warnings from ps2_mouse.hPriyadi Iman Nurcahyo
2017-02-07Merge pull request #1062 from luizribeiro/fix-winJack Humbert
Fix V-USB bug on Windows 10
2017-02-07Merge pull request #1068 from adzenith/masterJack Humbert
Minor cleanup
2017-02-07Merge pull request #1046 from LukeSilva/masterJack Humbert
Add Tapping Macros to QMK
2017-02-07Merge pull request #1057 from priyadi/selectable_outputJack Humbert
Implement runtime selectable output (USB or BT)
2017-02-06Merge pull request #1010 from SjB/oneshot_timeout_fixJack Humbert
oneshot timeout would only timeout after an event.
2017-02-05Minor cleanupNikolaus Wittenstein
2017-02-01Fix V-USB bug on Windows 10Luiz Ribeiro
2017-02-01Fix wrong includePriyadi Iman Nurcahyo
2017-02-01Limit outputselect to AVR only for nowPriyadi Iman Nurcahyo
2017-02-01Move outputselect to parent dir to satisfy non LUFA keyboardsPriyadi Iman Nurcahyo
2017-02-01Implement runtime selectable output (USB or BT)Priyadi Iman Nurcahyo
2017-01-29moved oneshot cancellation code outside of process_record.SjB
The oneshot cancellation code do not depend on the action_tapping_process and since process_record get called via the action_tapping_process logic moved the oneshot cancellation code into the action_exec function just before the action_tapping_process call
2017-01-28Add support for various tapping macrosLuke Silva
A macro key can now be easily set to act as a modifier on hold, and press a shifted key when tapped. Or to switch layers when held, and again press a shifted key when tapped. Various other helper defines have been created which send macros when the key is pressed, released and tapped, cleaning up the action_get_macro function inside keymap definitions. The layer switching macros require a GCC extension - 'compound statements enclosed within parentheses'. The use of this extension is already present within the macro subsystem of this project, so its use in this commit should not cause any additional issues. MACRO_NONE had to be cast to a (macro_t*) to suppress compiler warnings within some tapping macros.
2017-01-26Fix documentation for TMK actionsLuke Silva
2017-01-24Merge pull request #1014 from SjB/lcd_mods_statusJack Humbert
added mods status bit to visualizer.
2017-01-21Simplified and polished a bit the code changes on tmk_coreLuiz Ribeiro
2017-01-21Got ps2avrGB to work with the V-USB protocolLuiz Ribeiro
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-15oneshot timeout would only timeout after an event.SjB
After setting a ONESHOT_TIMEOUT value, the oneshot layer state would not expire without an event being triggered (key pressed). The reason was that in the process_record function we would return priort to execute the process_action function if it detected a NOEVENT cycle. The process_action contained the codes to timeout the oneshot layer state. The codes to clear the oneshot layer state have been move just in front of where we check for the NOEVENT cycle in the process_record function.
2016-12-30Merge pull request #973 from Wilba6582/keycode_refactorJack Humbert
Keycode refactor
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-20Fixes issue #900Wilba6582
2016-12-14Allow power consumption to be set per-keyboard.Kyle Smith
2016-12-12Merge pull request #944 from priyadi/negmousefixJack Humbert
Allow negative values for mouse movements
2016-12-10Allow negative values for mouse movementsPriyadi Iman Nurcahyo
2016-12-10The adafruit BLE C++ code requires -std=c++11Priyadi Iman Nurcahyo
2016-12-05Merge pull request #921 from Wilba6582/raw_hidJack Humbert
Initial version of Raw HID interface
2016-12-05syntax error fixPriyadi Iman Nurcahyo
2016-12-05Implemented weak ps2_mouse_init_user()Priyadi Iman Nurcahyo
There are a lot of PS/2 commands, some are vendor/device specific, so we provide a weak ps2_mouse_init_user() to be implemented in each keyboard that need it.
2016-12-03Merge pull request #931 from OferPlesser/feature/improve-ps2-mouseJack Humbert
Improving ps/2 mouse
2016-12-03Forgot to use define in delay instead of hardcoded numberOfer Plesser
2016-12-03Added back PS2_MOUSE_INIT_DELAY defineOfer Plesser
2016-12-03Refactored and improved ps2 mouse featureofples
2016-12-02Connect the adafruit ble code to the lufa main loopWez Furlong
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.
2016-12-02Merge pull request #915 from wez/ble_3Jack Humbert
Add support for Adafruit BLE modules
2016-12-02Merge pull request #913 from wez/ble_1Jack Humbert
Tidy up atomicity in timer.c and ring_buffer.h
2016-12-01Initial version of Raw HID interfaceWilba6582
2016-11-28Merge branch 'master' of github.com:jackhumbert/qmk_firmware into wu5y7Jack Humbert
2016-11-27Add support for Adafruit BLE modulesWez Furlong
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.