Commit Graph

907 Commits (8bceac8e8e9464c2887b652aac2347e1d6dca004)

Author SHA1 Message Date
Michael Richters 8818ad51b7 Fixed scan order bug
7 years ago
Gergely Nagy 93880767fb Drop the HIDAdaptor includes
7 years ago
Gergely Nagy ac38d7241d Pull in the KeyboardioHID HIDAdaptor library
7 years ago
Jesse Vincent 086b16f4df
Merge pull request #270 from keyboardio/f/api-version
7 years ago
Nate Soares 4572cccd67 effect hook only triggers on known Key_LEDEffect* keys
7 years ago
Nate Soares 795ef6c1f8 compare the keyCode instead of the whole key struct
7 years ago
Nate Soares e2d8866392 added Key_LEDEffectPrevious
7 years ago
Nate Soares e3f112affc fixed bug in wrap-around
7 years ago
Nate Soares 4d82db1f97 better wrap-around
7 years ago
Nate Soares 8ea55ff76f added prev_mode
7 years ago
Gergely Nagy 6867ff3ba8 Make the HID facade implementation external
7 years ago
Gergely Nagy a5eb6320c8 Kaleidoscope::setup: Use the HID facade
7 years ago
Gergely Nagy 78cc8064c5 api-version: A better error message
7 years ago
Florian Fleissner c811d3be70 Fixed style errors
7 years ago
Florian Fleissner e9759ee64a Added source file and line to static assert reports.
7 years ago
Florian Fleissner 18b234cf7f Added missing varargs to KEYMAP(...)
7 years ago
Florian Fleissner ae93c18728 Fixed style related errors
7 years ago
Florian Fleissner c70dbd34da Added macro arguments check to avoid problems with KEYMAP_STACKED and KEYMAP
7 years ago
Florian Fleissner 3119b6b228 Added src/macro_helpers.h that supports application of preprocessor-macros
7 years ago
Michael Richters 83a5518bed Use constants to better illustrate bitfield usage
7 years ago
Florian Fleissner ce122bb282 Added missing closring curly braces to Key macros
7 years ago
Gergely Nagy 5a1b453b36 Introduce KALEIDOSCOPE_API_VERSION
7 years ago
Gergely Nagy c56c7791ba Do not provide toggleLEDs
7 years ago
Gergely Nagy 5eca9b9a1f Forgot to rename a file, oops.
7 years ago
Gergely Nagy c71b96c233 make astyle
7 years ago
Gergely Nagy 810a69cf33 Rename the library to HostPowerManagement
7 years ago
Gergely Nagy d602988b95 Use LEDControl.paused instead of an implicit LEDOff
7 years ago
Jesse Vincent fa34983b5b
Merge pull request #254 from gedankenexperimenter/highest-layer
7 years ago
Jesse Vincent 7a55a9395f
Merge pull request #205 from cdisselkoen/inject-physical
7 years ago
matt venn 02a2a6c54a fixed missing newline
7 years ago
Gergely Nagy 9dc2daddc5 make astyle
7 years ago
Gergely Nagy 539aa85d6a Add a special `WakeupKeyboard`, to be able to wake the host up
7 years ago
Gergely Nagy 2871b06974 Add a way to pause LED modes
7 years ago
Gergely Nagy 1ab0ae3347 make astlye
7 years ago
Gergely Nagy 9a32ae9879 Renamed a few private members to follow the style guide
7 years ago
Gergely Nagy 24d06c7168 Initial import
7 years ago
Michael Richters 0cb4ac7970 Subtle change to key masking computation
7 years ago
Michael Richters 631d028c5f Backtick is ASCII 0x60, not 0x5F
7 years ago
Michael Richters 4d186e0228 Use an unsigned integer for the iterator
7 years ago
Michael Richters c060c5ef7e Rearranged and commented Layer.on() and Layer.off()
7 years ago
Jesse Vincent 88f8308e49
Merge pull request #13 from SjB/HorizontalMouseScrolling
7 years ago
Jesse Vincent 0870a2d560
Merge pull request #252 from keyboardio/h/mousekeys/separate-report-abstraction
7 years ago
Jesse Vincent 593d0884f5
Merge pull request #255 from gedankenexperimenter/qukeys
7 years ago
Michael Richters 904bdd37bf Removed spurious line deletion
7 years ago
SjB 3005d9534e Horizontal Mouse Scrolling Support in Kaleidoscope-Mousekeys
7 years ago
SjB df3d791165 Horizontal Mouse Scrolling Support in Kaleidoscope.
7 years ago
Michael Richters 1f7d9ed2e8 Wrong capitalization of `DefaultLayer` variable
7 years ago
Michael Richters 34cea2623d This iterator should count down, not up
7 years ago
Michael Richters 154f0f3267 Moved definition of MAX_LAYERS next to LayerState declaration
7 years ago
Michael Richters e822c6afad In case defaultLayer isn't zero, stop counting down there
7 years ago
Michael Richters f90891dc1c Added function to return the active layer of a given key
7 years ago
Michael Richters 00df66d30a Make updateHighestLayer() use layer_count if it's set
7 years ago
Michael Richters 918f25b623 Fixed reference to "CREATE_KEYMAP" (should have been "KEYMAPS")
7 years ago
Gergely Nagy 2bc62cb8b9 hid: Wrap Mouse.releaseAll() and Mouse.sendReport()
7 years ago
Michael Richters 75a16eeb96 Brief description of Layer.on() & Layer.off()
7 years ago
Jesse Vincent 0a41083881
Merge pull request #244 from gedankenexperimenter/bug/layer-next
7 years ago
Jesse Vincent 8e03280e36
Merge pull request #251 from keyboardio/h/consumercontrol/repeat-fix
7 years ago
Michael Richters 195d6bc413 Better compliance with coding style guide
7 years ago
Jesse Vincent 4bcbab2c09
Merge pull request #247 from gedankenexperimenter/bug/shift-layer-release
7 years ago
Gergely Nagy df72fb710f Fix mouse keys getting occasionally stuck
7 years ago
Gergely Nagy be49df2806 Fix ConsumerControl repeating
7 years ago
Michael Richters dd1376978e Another comment update
7 years ago
Michael Richters 3dfb8caa11 Updated comment to match code
7 years ago
Michael Richters f6d627602e Only call updateLiveCompositeKeymap() on key press; not release
7 years ago
SjB 9843c57f13 fix: coding style with make astyle
7 years ago
SjB 49dfa476ed CONSUMER(key) macro to his the magic constant
7 years ago
SjB 8ab23033e7 Replace Key_16bit macro with a more discribtive macro CONSUMER_KEY
7 years ago
Michael Richters 0fb2abf6bc Added better comments to CREATE_KEYMAP() & LayerCount declarations
7 years ago
Michael Richters 36b461a99a If using an old sketch, ignore LayerCount
7 years ago
Michael Richters 2784d0e9a9 Use weak attribute declaration for LayerCount
7 years ago
Michael Richters de39e20d78 Define keymap layers with CREATE_KEYMAP macro
7 years ago
James N. V. Cash 5d53d77c6f If layer is greater than max_layer, always fall back to EEPROM
7 years ago
SjB d7dea8d89a two typos using lower case k for Key casting
7 years ago
SjB 4e33428786 using Macro to convert HID_CONSUMER_CODE to Key struct
7 years ago
SjB fa13851193 Merge branch 'master' into 10bitConsumerCodeSupport
7 years ago
Jesse Vincent c0407b2775
Merge pull request #238 from ejinks4/patch-1
7 years ago
Jesse Vincent 043ba2072b Tweak our chatter timings to hopefully have fewer false positives
7 years ago
Jesse Vincent c0a2b43c23 Slightly clean up our startup mode to be faster and more likely to eat
7 years ago
Jesse Vincent 952198a98a It appears that when the BIOS isn't reporting the keyboard LED state back to the keyboard, the old code resulted in sending far too many key reports. (Specifically, out of controll key repeat on OSX)
7 years ago
Jesse Vincent a860afa765 astyle. no function changes
7 years ago
Jesse Vincent b25e7e87e2 Avoid a potential overflow bug
7 years ago
Jesse Vincent d09ac4043d Look for chatter across 15 scans, rather than just two.
7 years ago
Jesse Vincent 5f9be8f8f0 Clear the keyscan buffer starting to look for bounce events.
7 years ago
Jesse Vincent 54cbf18e1c Only treat "key pressed down" events as issues for the debounce counter.
7 years ago
Michael Richters 50ac31d0f5 Added a "sketch-trailer.h" header file
7 years ago
Jesse Vincent 8b562fe64b Switch to a counter for 'cycles since last state change'
7 years ago
Jesse Vincent 1fb97c958b That renaming was slightly over-aggressive
7 years ago
Jesse Vincent 3de82eb6a4 Renaming
7 years ago
Jesse Vincent 1333f30252 Switch to not trying to use 'Numlock' as a toggle.
7 years ago
Jesse Vincent 75dfcf8ccb First pass at a new chatter detection mode
7 years ago
Jesse Vincent c126e1b27b astyle
7 years ago
Jesse Vincent 2e91dd4a82 Disable hardware debouncing in testmode
7 years ago
Jesse Vincent dbb1b95d5c Add a public API for a device-specific feature (configurable debounce
7 years ago
Jesse Vincent b3ea050595 Reorder definitions and add a clarifying comment
7 years ago
Michael Richters 9db5036a5c Make `LayerCount` available in layers.cpp
7 years ago
Michael Richters e7f9edba2d Added a check to prevent reading past the end of the keymaps[] array
7 years ago
SjB f57aab5f71 Support all 10bit HID Consumer code.
7 years ago
Jesse Vincent 3f1c80366a
Merge pull request #224 from algernon/f/getKeyboardLEDs
7 years ago
ejinks4 263f9a59c3
Update key_events.cpp (IS_INTERNAL Handling)
7 years ago
Javaru 802dcb1e35 Fix for issue that defined LED constants for thumb keys and fn keys have wrong values. Renamed some LED thumb variables for consistency (none are used elsewhere at this time).
7 years ago
David Glasser 4342080621 Turn off light when done
7 years ago
Bart Nagel a3a5cfbc6a Fix code typo in blazing trail decay
7 years ago
Michael Richters b607c667cb Fixed a typo in key def aliases (s/Key_LGuy/Key_LGui/)
7 years ago
James N. V. Cash c298d22827 Only need keysPerLayer in the updating branch of the conditional
7 years ago
James N. V. Cash 0073be9a74 Fix error in storing keys by layer
7 years ago
Gergely Nagy 0943911786 Use kaleidoscope::hid instead of Keyboard directly
7 years ago
Gergely Nagy 4f1d7a5670 Add kaleidoscope::hid::getKeyboardLEDs()
7 years ago
Gergely Nagy a1c0fdfb42 Sync the NUMPAD layer state with the host
7 years ago
James N. V. Cash 480bfbd021 Guard against out-of-bounds layer
7 years ago
James N. V. Cash 6dcc6a9277 Teach plugin to print out the contents of a given layer
7 years ago
James N. V. Cash 0f00b4a9a9 Add method to allow upload of keymap for individual layer
7 years ago
Craig Disselkoen c2a51487c6 Remove no-longer-used KeyboardioHID.h include
7 years ago
Jesse Vincent 393bba00ba Fix for a deprecated API
7 years ago
Gergely Nagy 8741c68f7b The first half of https://github.com/keyboardio/Kaleidoscope/pull/196
7 years ago
Jesse Vincent ec642fc955 Revert "Make KaleidoscopePlugin.begin protected by default"
7 years ago
Jesse Vincent 2b7e10cdbb Merge pull request #196 from keyboardio/f/protected-KaleidoscopePlugin.begin
7 years ago
Gergely Nagy de487990c3 Introduce KaleidoscopePlugin.initialSetup, and deprecate .begin
7 years ago
Craig Disselkoen 29690b8f34 Allow injected events tied to physical keyswitches
7 years ago
katee 1006136081
Fix URL to USD HID documentation
7 years ago
Jesse Vincent 212054ae63 Merge pull request #201 from cdisselkoen/more-deprecations
7 years ago
Gergely Nagy 5780bccc6a Rename reactivate() to refreshAll()
7 years ago
Craig Disselkoen 7d6fc87e34 Add deprecation message for deprecated keyswitch_state functions
7 years ago
Jesse Vincent 0fc47c3818 Merge pull request #13 from keyboardio/f/reActivate
7 years ago
Gergely Nagy 3ad18bf5e7 Add LEDControl.reactivate()
7 years ago
Gergely Nagy 339db0a0b3 Remove some dead code that were accidentally left in
7 years ago
Craig Disselkoen 706401d0cc Add deprecation message for END
7 years ago
Gergely Nagy 9182537fcf Make KaleidoscopePlugin.begin protected by default
7 years ago
Gergely Nagy 4ddd3b86d1 Deprecate USE_PLUGINS
7 years ago
Gergely Nagy 952ef25177 Deprecate KEYMAP_SIZE too
7 years ago
Gergely Nagy 1025957eaa Deprecate Kaleidoscope.setup(keymap_count)
7 years ago
Gergely Nagy 646a9d65f9 Add a deprecation message to the _hook_use functions
7 years ago
Jesse Vincent 6325e87afa Merge pull request #192 from keyboardio/f/deprecation/MOMENTARY_OFFSET
7 years ago
Gergely Nagy 0fa9396ab2 Make the _hook_use aliases emit a deprecation warning
7 years ago
Gergely Nagy 27caf6e958 Drop the _hook_append and _hook_replace aliases
7 years ago
Gergely Nagy 522bd76d9e With the new layer terminology, deprecate MOMENTARY_OFFSET
7 years ago
Csilla Nagyné Martinák 14dfeae9a3 Rename the layer helper macros
7 years ago
Csilla Nagyné Martinák f05d9c817f Introduce two layer-switch helper functions
7 years ago
Jesse Vincent edbe32333e split out keymap key definitions to their own file
7 years ago
Jesse Vincent 86ebc8de02 Revert f3094e1538
7 years ago
Gergely Nagy 1d1affb71b Use an event loop hook instead of requiring a macro to detect NumLock
7 years ago
Craig Disselkoen 44ebeed109 Fix out-of-bounds memory accesses resulting from handleKeyswitchEvent()
7 years ago
Craig Disselkoen 374a3e136c Support for Kaleidoscope-Hardware-Virtual plugin
7 years ago
Craig Disselkoen 9955491971 Fix typo in keyswitch_state.h comments
7 years ago
Jesse Vincent 5015b4e9eb make doxygen not complain about big tables of macros in the Model 01
7 years ago
Jesse Vincent 0467521354 astyle
7 years ago
Jesse Vincent 4914b24d85 Move key aliases to their own file and add back some aliases depended on
7 years ago
Craig Disselkoen 1ab2b45c2c Clearer (and more failsafe) implementation of deprecated methods
7 years ago
Craig Disselkoen 0b3c80b5ee Improved documentation for keyswitch states
7 years ago
Gergely Nagy 580f945270 Update the live composite keymap too at setup time
7 years ago
Gergely Nagy 53a1a2e361 Rename Layer.highest() to Layer.top()
7 years ago
Jesse Vincent a54dd140e1 Merge pull request #179 from keyboardio/f/Layer.highest
7 years ago
Gergely Nagy 9144701933 layers: Remove an unused & unimplemented function
7 years ago
Gergely Nagy b249c50505 Stop using deprecated interfaces
7 years ago
Gergely Nagy 4aa7dbe0b5 Stop using deprecated interfaces
7 years ago
Gergely Nagy 532b1129de Stop using deprecated interfaces
7 years ago
Gergely Nagy 3e2812889e Stop using deprecated interfaces
7 years ago
Gergely Nagy 119d021e6a Layer: Add Layer.highest() to access the cached highestLayer
7 years ago
Gergely Nagy da0c998760 Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy 75edd6425e Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy 25cb263e6a Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy 7f705c43b5 Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy de54b5b279 Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy a7f9207cec Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy 8bb7a5b1e4 Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy 0d22199cac Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy b4c07442ac Major update of how LED modes work
7 years ago
Jesse Vincent aab19f505a
Tweak the bootgreeting timeout so that it turns off at the bottom end of a pulse
7 years ago
Jesse Vincent 588fa21148
fix a lint issue
7 years ago
Jesse Vincent 580953a39a
astyle
7 years ago
Gergely Nagy f3094e1538 Initial attempt at chatter detection
7 years ago
Jesse Vincent 20c5b8e779
Make out breathing blue a little bit purer blue.
7 years ago
Jesse Vincent 64f20850b5
Add a workaround for [ + LSHIFT as a single key report not generating the proper
7 years ago
Jesse Vincent 51e61dc205
Add a helper function for pressing modifier keys that we receive as
7 years ago
Jesse Vincent 14ae21267b
Add a new 'wasModifierKeyActive' wrapper around a new method in KeyboardioHID
7 years ago
Gergely Nagy bed648ce28 Initial import
7 years ago
Gergely Nagy 33dc593151 layers: Add a comment about the momentary layer handling
7 years ago
Gergely Nagy c88062a243 layers: Code refactoring
7 years ago
Gergely Nagy b218143faf When a momentary layer is held, reactivate the layer if it turns off
7 years ago
Jesse Vincent 9fa29b709d
Turn off the LEDs when exiting NumLock mode.
7 years ago
Jesse Vincent 6dc23db20b
When figuring out which keys to light up with LEDs: Switch to looking up the numpad keys based on the currently active layer
7 years ago
Jesse Vincent 0c1b723650
Explicitly set LEDs that aren't active to zero. Otherwise, plugins like numlock won't get de-initialized
7 years ago
Jesse Vincent 3199594181
astyle
7 years ago
Jesse Vincent f738c4ea1e
rename lookupUncached to lookupOnActiveLayer
7 years ago
Jesse Vincent b82b6910ea
Rename 'keymapCache' to 'activeLayers' to better describe what it is
7 years ago
Gergely Nagy 29a8b95615 layers: Implement a two-stage cache
7 years ago
Gergely Nagy b8f8c9b3d5 Smarter Layer.on / Layer.off
7 years ago
Gergely Nagy 75fb3ac14a Make cpplint happy
7 years ago
Jesse Vincent 89e59ab628
astyle fix for a trailing newline
7 years ago
Jesse Vincent c8e846247c
Rename 'keyCache' to 'keymapCache', as it's a little bit more
7 years ago
Jesse Vincent 6778581bcf
add a more descriptive comment
7 years ago
Gergely Nagy 130845f897 Add a few comments explaining why we call Layer.updateKeyCache()
7 years ago
Gergely Nagy 3748fe7669 Update the key cache on layer change and at keyboard setup
7 years ago
Gergely Nagy afce335f30 Drop the getKeyColor function from the header
7 years ago
Jesse Vincent 491dca3a4d
lint fix
7 years ago
Gergely Nagy 96b1979ca5 Layer: Make the repeating behaviour the default and only variant
7 years ago
Gergely Nagy 84768d505c Layer_::updateKeyCache: Guard against out of bounds key coordinates
7 years ago
Selene Scriven ff95f30ade Fix style issue pointed out by travis
7 years ago
Selene Scriven 5f4ee21790 Upgraded mouse acceleration.
7 years ago
Gergely Nagy 8b9fdaa90f Don't init `Layer.repeat_first_press` to true yet.
7 years ago
Gergely Nagy 5ccdfcf6c7 Switch the layer repeating behaviour
7 years ago
Gergely Nagy f0c1c35e8f Significant speed improvement in key lookup code
7 years ago
Gergely Nagy e3f1172244 Changed how key caching & lookup works
7 years ago
Gergely Nagy 23fec81b28 Allow type() to take any number of arguments
7 years ago
Gergely Nagy 306e450496 Make the .type method return MACRO_NONE
7 years ago
Gergely Nagy 2e48ea3a0e masking: Use keydata_t instead of uint8_t[4]
7 years ago
Gergely Nagy 7e09236306 masking: Follow the hand state bit layout more closely
7 years ago
Gergely Nagy 8e98e30f62 masking: use 4 8-bit uints instead of one 32bit one
7 years ago
Gergely Nagy 0a566eb58f Fix masking of the right-hand side.
7 years ago
Craig Disselkoen a120c63e96 Avoid duplicated effects in LEDMode rotation
7 years ago
Gergely Nagy dc40c8e226 masking: Let the release event of a masked key through
7 years ago
Gergely Nagy ca8f586b2e Document the use of key masking a bit
8 years ago
Gergely Nagy 14197de8e6 Add a few words about masking as in-code comments.
8 years ago
Jesse Vincent c575fd0d52
When in numlock, we should only light up the numpad keys, not everything else
8 years ago
Jesse Vincent 1206a3cafb
astyle
8 years ago
Jesse Vincent a9068d16d4
Unify repeated code to a codepath. Saves us 16 bytes
8 years ago
Jesse Vincent cd847a7ead
extract our ascii lookup table function. (saves 16 bytes)
8 years ago
Gergely Nagy f0b3ad2b14 Implement key masking for momentary layer keys
8 years ago
Gergely Nagy 40e6656f6e Add helpers to aid in implementing key masking
8 years ago
Gergely Nagy 92050c2ab7 Highlight only those keys that have no flag set
8 years ago
Gergely Nagy 65fee12dad Move Mouse & AbsoluteMouse initialization to MouseWrapper.begin
8 years ago
Gergely Nagy 23b341e2b3 Skip layer switching keys when it comes to highlighting
8 years ago
Jesse Vincent e9c532509f
Switch AbsoluteMouse to use its own HID endpoint
8 years ago
Gergely Nagy 4f7e60ec52 Highlight changed keys on the NumLock layer, not just NumPad ones
8 years ago
Jesse Vincent 5e79b16923
switch around our constants so we have more room for mouse buttons in the bit vector
8 years ago
Jesse Vincent ef47dc5447
switch mouse button constants to those defined in the HID library.
8 years ago
Jesse Vincent 8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
8 years ago
Jesse Vincent b19fd73f1f
astyle
8 years ago
Jesse Vincent cf08f96d1c
Port to new HID facade
8 years ago
Jesse Vincent b87014c544
Port to the new HID facade
8 years ago
Jesse Vincent 7919922036
Move the hid facade out into its own namespace
8 years ago
Jesse Vincent 7e73341772
Move our hid facade into kaleidoscope::hid
8 years ago
Jesse Vincent c9734385c5
press/releaseKeyRaw -> press/releaseRawKey
8 years ago
Jesse Vincent 4ee9ca4e63
pressConsumer/releaseConsumer -> pressConsumerControl / releaseConsumerControl
8 years ago
Jesse Vincent f5aaedffd5
add an "isModifierActive" to the hid facade
8 years ago
Jesse Vincent 02695b8cea
Add a facde for KeyboardioHID's *.begin()
8 years ago
Jesse Vincent 8b187366c7
Create an abstraction on top of the KeyboardioHID interface
8 years ago
Jesse Vincent 42cabcfa6f
camelCasing wait_for_keypress
8 years ago
Jesse Vincent 2c08dd867b
camelCasing press_button to pressButton
8 years ago
Jesse Vincent cb3a6d78c8
press_key-> pressKey
8 years ago
Jesse Vincent 396ae22a67
release_key->releaseKey
8 years ago
Jesse Vincent 9573630c19
camelCasing of internal functions in Hardware file
8 years ago
Jesse Vincent d0e85633b8
camelCasing of _matrix functions
8 years ago
Jesse Vincent 4712aabfd4
camelCasing of _matrix functions
8 years ago
Jesse Vincent e29e220416
camelCasing of _matrix functions
8 years ago
Jesse Vincent c4fccab55b
get_key_color -> getKeyColor
8 years ago
Jesse Vincent 137ff37610
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 978d04625d
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 082b409054
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 2e428d8ccc
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 6c723bee32
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent a84060e8d1
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent 769470fbd6
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent b65f175343
CamelCaseifcation of LED related functions
8 years ago
Jesse Vincent ee0ccdd91d
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 6b850c140d
Switch Macros to use an API rather than doing its own bitmath
8 years ago
Jesse Vincent 66ff95877d
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 09e596a8a2
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 210287684f
CamelCase of handle_*_key*
8 years ago
Jesse Vincent 08501e59e0
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent b3f1371fb5
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 2582441523
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent 0f2bae7db7
keyToggledO* camelcasing
8 years ago
Jesse Vincent f30af4d85d
keyToggledO* camelcasing
8 years ago
Jesse Vincent a8faa2d594
Switch to new key toggle API
8 years ago
Jesse Vincent 2d7388e42f
Update to 'new' keyswitch state API
8 years ago
Jesse Vincent 3154f7c997
Add "correct" camelCase versions of the keyswitch state macros to ease transition to the new API
8 years ago
Jesse Vincent ff4b316f76
REC became PROG and LED and PROG switched places for mass production
8 years ago
Jesse Vincent 4e46843f32
LED_G was missing. Caught by @cdisselkoen++
8 years ago
Craig Disselkoen c6af9a17e3 Remove internal usage of END macro, in favor of MACRO_ACTION_END
8 years ago
Craig Disselkoen ebd9f35d62 Automatically add END to invocations of MACRO() and friends
8 years ago
Gergely Nagy f2d3d91a73 Simplify the API
8 years ago
Gergely Nagy 40328cd342 Re-init the active LED mode when NumLock is turned off
8 years ago
Gergely Nagy b6461e5f40 Add LEDControl.init_mode()
8 years ago
Gergely Nagy 98bf56d097 Instead of acting as a strange LED mode, use a loop hook instead
8 years ago
Jesse Vincent 51f37933f3 astyle 3.0 caught this style violation
8 years ago
Jesse Vincent 95bd188a54 Make cpplint-noisy happy
8 years ago
Jesse Vincent c8586985fd Add toggling on of the on-board green status LEDs.
8 years ago
Gergely Nagy 9317ec61e2 Migrate from USE_PLUGINS to Kaleidoscope.use
8 years ago
Gergely Nagy 500973eaf9 Fix ALPHASQUARE_SYMBOL_1 in the 3x4 font
8 years ago
Jesse Vincent beb159e860 brighten up the LEDs for testing
8 years ago
Gergely Nagy 98b389411b Use Kaleidoscope.use instead of USE_PLUGINS
8 years ago
Jesse Vincent 953b58702c cpplint-noisy cleanup
8 years ago
Jesse Vincent 85b96e0e85 destaticify
8 years ago
Jesse Vincent d1fc67e45d deconstify things we think we might want to let users configure
8 years ago
Jesse Vincent 0dabbc6f95 typo
8 years ago
Jesse Vincent 41ddb76fa8 indent error
8 years ago
Jesse Vincent 80c6e1f26c 0 was duplicated
8 years ago
Jesse Vincent ae8407016b wrong var name
8 years ago
Jesse Vincent ea90ca09b0 Add a brightness API for the rainbow effects
8 years ago
Jesse Vincent af3cfba124 astyle didn't catch this whitespace issue
8 years ago
Jesse Vincent ee4265ad77 fixes for cpplint, including a really embarssing mistake
8 years ago
Jesse Vincent a7622eff04 Correct the description of 3x4 font
8 years ago
Jesse Vincent 23a890dd7f Add a first pass at a 3x4 font.
8 years ago
Jesse Vincent 891bab11ec Extract the typeface out into its own file
8 years ago
Jesse Vincent bddcc4912b extract out the key combo
8 years ago
Gergely Nagy 4c2b9e8e55 Add a way to type ASCII strings, as if pressing keys
8 years ago
Gergely Nagy 636dfc3ba6 Rework Kaleidoscope.use to be a compile-time recursive function
8 years ago
Gergely Nagy c3eb1af9da reboot_bootloader: Use reinterpret_cast<> instead of C-style casting
8 years ago
Gergely Nagy 82a7ceb75a Augment a TODO item to make the linter happier
8 years ago
Gergely Nagy c05573ea40 Guard the key_is_pressed/key_was_pressed arguments better
8 years ago