summaryrefslogtreecommitdiffstats
path: root/tmk_core
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Implement faux-clicky featurePriyadi Iman Nurcahyo2-0/+19
2017-02-11Supress warnings from ps2_mouse.hPriyadi Iman Nurcahyo1-2/+3
2017-02-07Merge pull request #1062 from luizribeiro/fix-winJack Humbert1-2/+2
Fix V-USB bug on Windows 10
2017-02-07Merge pull request #1068 from adzenith/masterJack Humbert3-8/+2
Minor cleanup
2017-02-07Merge pull request #1046 from LukeSilva/masterJack Humbert2-5/+31
Add Tapping Macros to QMK
2017-02-07Merge pull request #1057 from priyadi/selectable_outputJack Humbert4-70/+146
Implement runtime selectable output (USB or BT)
2017-02-07Merge pull request #1010 from SjB/oneshot_timeout_fixJack Humbert1-8/+8
oneshot timeout would only timeout after an event.
2017-02-06Minor cleanupNikolaus Wittenstein3-8/+2
2017-02-02Fix V-USB bug on Windows 10Luiz Ribeiro1-2/+2
2017-02-01Fix wrong includePriyadi Iman Nurcahyo1-1/+1
2017-02-01Limit outputselect to AVR only for nowPriyadi Iman Nurcahyo3-2/+2
2017-02-01Move outputselect to parent dir to satisfy non LUFA keyboardsPriyadi Iman Nurcahyo2-0/+0
2017-01-31Implement runtime selectable output (USB or BT)Priyadi Iman Nurcahyo4-69/+145
2017-01-29moved oneshot cancellation code outside of process_record.SjB1-8/+8
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 Silva1-2/+24
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 Silva1-3/+7
2017-01-24Merge pull request #1014 from SjB/lcd_mods_statusJack Humbert1-1/+1
added mods status bit to visualizer.
2017-01-21Simplified and polished a bit the code changes on tmk_coreLuiz Ribeiro4-6/+7
2017-01-21Got ps2avrGB to work with the V-USB protocolLuiz Ribeiro8-17/+73
2017-01-18added mods status bit to visualizer.SjB1-1/+1
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-16oneshot timeout would only timeout after an event.SjB1-7/+7
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 Humbert1-1/+1
Keycode refactor
2016-12-29API Sysex fixesFred Sundvik2-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
2016-12-29Keycode refactorWilba65821-1/+1
2016-12-19Fixes issue #900Wilba65822-4/+4
2016-12-15Allow power consumption to be set per-keyboard.Kyle Smith1-1/+4
2016-12-12Merge pull request #944 from priyadi/negmousefixJack Humbert1-1/+1
Allow negative values for mouse movements
2016-12-10Allow negative values for mouse movementsPriyadi Iman Nurcahyo1-1/+1
2016-12-09The adafruit BLE C++ code requires -std=c++11Priyadi Iman Nurcahyo1-1/+1
2016-12-05Merge pull request #921 from Wilba6582/raw_hidJack Humbert5-8/+220
Initial version of Raw HID interface
2016-12-04syntax error fixPriyadi Iman Nurcahyo1-1/+1
2016-12-04Implemented weak ps2_mouse_init_user()Priyadi Iman Nurcahyo2-47/+56
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 Humbert2-164/+289
Improving ps/2 mouse
2016-12-03Forgot to use define in delay instead of hardcoded numberOfer Plesser1-1/+1
2016-12-03Added back PS2_MOUSE_INIT_DELAY defineOfer Plesser2-1/+4
2016-12-03Refactored and improved ps2 mouse featureofples2-164/+286
2016-12-03Connect the adafruit ble code to the lufa main loopWez Furlong1-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.
2016-12-02Merge pull request #915 from wez/ble_3Jack Humbert5-1/+940
Add support for Adafruit BLE modules
2016-12-02Merge pull request #913 from wez/ble_1Jack Humbert2-34/+28
Tidy up atomicity in timer.c and ring_buffer.h
2016-11-30Initial version of Raw HID interfaceWilba65825-8/+220
2016-11-29Merge branch 'master' of github.com:jackhumbert/qmk_firmware into wu5y7Jack Humbert3-8/+12
2016-11-28Add support for Adafruit BLE modulesWez Furlong5-1/+940
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-28Tidy up atomicity in timer.c and ring_buffer.hWez Furlong2-34/+28
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 Humbert2-254/+10
2016-11-26Merge pull request #903 from priyadi/ps2_init_delayJack Humbert1-1/+4
Make PS2 init delay configurable.
2016-11-26Make PS2 init delay configurable. Some devices are not fully powered upPriyadi Iman Nurcahyo1-1/+4
after 1s.
2016-11-24rgblight fixesJack Humbert1-1/+1
2016-11-24travis plsJack Humbert2-48/+43
2016-11-24converted to new formatJack Humbert2-115/+192
2016-11-23Fixed NO_SUSPEND_POWER_DOWN handlingWilba65821-6/+1