summaryrefslogtreecommitdiff
path: root/tmk_core
AgeCommit message (Collapse)Author
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.
2016-11-27Tidy up atomicity in timer.c and ring_buffer.hWez Furlong
Adopt the macros for saving/restoring the interrupt state that are provided by the avr gcc environment. Removing intialization of the timer value; this shaves off a few bytes because globals are default initialized to zero.
2016-11-26separated into api files/folderJack Humbert
2016-11-26Merge pull request #903 from priyadi/ps2_init_delayJack Humbert
Make PS2 init delay configurable.
2016-11-26Make PS2 init delay configurable. Some devices are not fully powered upPriyadi Iman Nurcahyo
after 1s.
2016-11-23rgblight fixesJack Humbert
2016-11-23travis plsJack Humbert
2016-11-23converted to new formatJack Humbert
2016-11-23Fixed NO_SUSPEND_POWER_DOWN handlingWilba6582
2016-11-23converted to 8bit messagesJack Humbert