Commit Graph

1947 Commits (903e7e2e44b5bd7a4a4e83d1c2aa5f38b799e21c)

Author SHA1 Message Date
Gergely Nagy bf21f59f84 Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy cc32e8e735 Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy cd26604638 Drop the V1 plugin compatibility code
6 years ago
Gergely Nagy 560d07a2a6 Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy 358a5572e5 Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy c11c09ba5f Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy dfb5cc54cc Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy 4e4b844ab1 Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy 47c3fbd2ec Drop the V1 plugin API compatibility code
6 years ago
Gergely Nagy 297dab5c74 Drop the V1 Plugin API
6 years ago
Jesse Vincent 3a2683b3ee astyle
6 years ago
Jesse Vincent aee55ba437 Switch to using the CRGB macro to build our colors. This should make it
6 years ago
Jesse Vincent cea73d9a72 This change hacks up HostPowerManagement to make it a noop on X86
6 years ago
Jesse Vincent c9e2eec273 When compiled with a HID implementation without BootKeyboard enabled,
6 years ago
Jesse Vincent 03524be758 astyle
6 years ago
Jesse Vincent 276a160666 Remove two includes that we don't need anymore
6 years ago
Jesse Vincent d7abd066c6 astyle
6 years ago
Jesse Vincent 6ec5f2cc50 Rename an argument to be less confusing.
6 years ago
Brian Cully 4d58d3e6a3 Update plugin interface to be compatible with newer Keyboardio API.
6 years ago
Jesse Vincent 386787f1ca
Merge pull request #7 from MartyGentillon/master
6 years ago
Shriramana Sharma 2b61408459
clarify what happened to flag B00100000
6 years ago
Jesse Vincent 47499e5b23
Merge pull request #26 from ilmagico/master
6 years ago
Jesse Vincent 234c13db10
Merge pull request #22 from hkmix/master
6 years ago
Michael Richters 97aa9b3ba4 A fix for rollover from a mod-flagged key
6 years ago
Jesse Vincent d8839bb991
Merge pull request #28 from keyboardio/o/pressedKeyswitchCount
6 years ago
Jesse Vincent 6b598d2e24
Merge pull request #15 from gedankenexperimenter/key-mask-clarity
6 years ago
Shriramana Sharma 8321009ea4 Limit refresh rate and don't update on every cycle
6 years ago
Daniele Tamino 8ec69c8fba Add setSpeedLimit API
6 years ago
Gergely Nagy 7eabe867a4 Stop moving into a given direction when releasing a mouse key
6 years ago
Gergely Nagy 16909f27f5 kaleidoscope::hid: Add stopMouse()
6 years ago
Gergely Nagy 852a685249 When playing back, also report mouse keys
6 years ago
Gergely Nagy 8a170ff811 Simplify the way we achieve printing the error message when using the old API
6 years ago
Gergely Nagy 94fc92a95a Fix the way we trigger an error on Kaleidoscope.use() with V2 API
6 years ago
Gergely Nagy df68cd510d Display a useful error when using the old-style API
6 years ago
Gergely Nagy 051ec97186 Give a nice error message on Kaleidoscope.use() when compiling with V2 API only
6 years ago
matt venn 76e8478ff6 code comments
6 years ago
Shriramana Sharma 4674fe1f10 add saturation option
6 years ago
matt venn 441812abcc fixed LED sync overflow bug
6 years ago
Michael Richters 4f5413c9e5 Fix release of primary keycodes
7 years ago
Gergely Nagy 8fffb2622d Do register the LED mode in onSetup
7 years ago
Gergely Nagy f2bca33a7c Improve the compatibility layer
7 years ago
Gergely Nagy 675c0ac475 Fix onSetup, to register the LED mode
7 years ago
Gergely Nagy 701e79d3dc Clear should_cancel_ when canceling stickiness with a third tap
7 years ago
Gergely Nagy 63cd0fb2f2 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy a07cda8019 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 4499709cd5 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy c42bfa481a Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 23f9ae9a4c Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 46654c28d8 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy c489f6702f Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 00515e9104 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy b683383e22 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 4441329abf Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 1c8b45eddc Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 98563a7afd Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy f97313f5b0 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy d725a7d16a Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy db088083de Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 948b3d40b7 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 35092bd2d3 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 24d298d459 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 92d96d5d2c Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy 28dc505ef0 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy b756217750 Override onSetup when using a compatibility layer
7 years ago
Gergely Nagy fac99ec57b Fix the error reporting on old-style API
7 years ago
Gergely Nagy 56fdd2c555 Optimize pressedKeyswitchCount()
7 years ago
Gergely Nagy 7603cc813e Use __builtin_popcountl() in pressedKeyswitchCount()
7 years ago
Gergely Nagy 65eb079a3a Fix a typo in key_defs_consumerctl.h
7 years ago
Gergely Nagy 604ebc448d Make the NumLock breathe's hue configurable too
7 years ago
Gergely Nagy 4b04d506c4 Make the numpad highlight color configurable
7 years ago
Gergely Nagy 9592ef1ae8 Make the hue configurable
7 years ago
Jesse Vincent c18fe0584a
Merge pull request #338 from keyboardio/f/deprecated/remove-by-may
7 years ago
Gergely Nagy 4fb8e51dde Remove some long-deprecated methods and symbols
7 years ago
Gergely Nagy d9da1d717a Add an UPGRADING.md document, and a helpful error message
7 years ago
Gergely Nagy 417b7de5c1 Migrate to KeyboardHardware.isKeyswitchPressed() & .pressedKeyswitchCount()
7 years ago
Gergely Nagy 5a6e0fa12a Complete redesign of the plugin
7 years ago
Gergely Nagy c455b9cc08 Better keyswitch state APIs
7 years ago
Gergely Nagy f469015346 Better keyswitch state APIs
7 years ago
Gergely Nagy 25e940a611 Remove the getKeyswitchStateAtPosition wrapper
7 years ago
Gergely Nagy 33e64d5298 Document hid::getKeyswitchStateAtPosition
7 years ago
Jack Zhou c45e7d1c1d
Fix diagonal speed limit and remainder calculation
7 years ago
Gergely Nagy 2414a6f477 Implement the RxCy constants
7 years ago
Gergely Nagy 0e57322903 Implement getKeyswitchStateAtPosition
7 years ago
Gergely Nagy 9b6cf1ce14 Use the Kaleidoscope naming convention for KEYMAP_STACKED
7 years ago
Gergely Nagy 509adfcc41 Convert the RxCy macros to constsexprs
7 years ago
Gergely Nagy 01379a72fc Move KEY_INDEX to the hardware plugin
7 years ago
Gergely Nagy 5388739131 Implement KEY_INDEX and add getKeyswitchStateAtPosition to the HID facade
7 years ago
Gergely Nagy 0b696af8f6 Implement getKeyswitchStateAtPosition, and transition RxCy to KEY_INDEX
7 years ago
Gergely Nagy 9f25b0990e Make the V1 plugin API ifdefs broader
7 years ago
Gergely Nagy e706ffaa89 Implement detachFromHost() and attachToHost()
7 years ago
Gergely Nagy f2316c5114 Wrap KeyboardHardware.detachFromHost and .attachToHost
7 years ago
Gergely Nagy fe9c6f8d92 Implement a way to detach from / attach to the host
7 years ago
Gergely Nagy 28b4e1bb0a Initial import
7 years ago
Gergely Nagy 6190f55c57 Dim the numpad color down from 255 to 160.
7 years ago
Jack Zhou 77acd347e8
Address possible overflow, adhere to style
7 years ago
Jack Zhou 04112de297
Approximate sqrt(2)/2 with ints to avoid floats
7 years ago
Jack Zhou 3805b53cad
Clean up implementation
7 years ago
Jack Zhou 69a8288d5d
Apply correct diagonal movement speeds
7 years ago
Gergely Nagy da41514f1c Remove WakeupKeyboard
7 years ago
Gergely Nagy 1844d88c76 Do not cancel OneShot if a oneshot is still held
7 years ago
Gergely Nagy c791e8163c Implement OneShot.isPressed()
7 years ago
Gergely Nagy 8a77cdaaff astyle
7 years ago
Gergely Nagy 95789d3777 Add getters for brightness and update_delay
7 years ago
Gergely Nagy 1ab6c016cd Use Focus.readColor in the focusHook
7 years ago
Aaron Christianson 7ad05d2d93 fixed a show-stopping spelling error. updat_delay -> update_delay
7 years ago
Aaron Christianson a1fadd9f75 added changes suggested in the PR discussion.
7 years ago
Aaron Christianson e6f7aef63b added methods to control delay time and updated the README
7 years ago
Gergely Nagy 5006da2a28 Fix RESTRICT_ARGS_COUNT with gcc 8.1+
7 years ago
Gergely Nagy 07efbce40d
Merge pull request #321 from keyboardio/f/millisAtCycleStart
7 years ago
Gergely Nagy e43d2cb391 Introduce Kaleidoscope.millisAtCycleStart()
7 years ago
Gergely Nagy c6be3cf804 ErgoDoxScanner: We need that delay in initExpander
7 years ago
Gergely Nagy 2b19388f6c ErgoDoxScanner: Try re-attaching every 5 seconds only
7 years ago
Gergely Nagy f8726905ea Support detaching & re-attaching the expander
7 years ago
Gergely Nagy bbc38e7120 Use Timer1 for scan timing
7 years ago
Gergely Nagy d76987edff Renamed the library to Kaleidoscope-Hardware-EZ-ErgoDox
7 years ago
Gergely Nagy 51f3d94cff Another copyright & credits update
7 years ago
Gergely Nagy 831d1df057 Credit QMK, where a big part of this comes from
7 years ago
Gergely Nagy 596d3cf12e Implement debouncing
7 years ago
Gergely Nagy 12ed823c2d Don't call the keyswitch event handler when idle
7 years ago
Gergely Nagy 39763abbb5 Implement ErgoDox.resetDevice()
7 years ago
Gergely Nagy bd913cde2b Add support for the status LEDs
7 years ago
Gergely Nagy afa32312e0 Make the ErgoDox symbol available
7 years ago
Gergely Nagy 499d4e8b37 Initial import
7 years ago
Max Görner 2889f1c301 Remove `inline' for improved readability
7 years ago
Max Görner b2254e1c7f Slightly improve function signatures
7 years ago
Max Görner 066d00d117 Add const and constexpr specifiers to Key union
7 years ago
Gergely Nagy 7b49a2c011 deprecations: Make some of them less scary
7 years ago
Gergely Nagy dbb4152cb2 Updated to use the new plugin API
7 years ago
Gergely Nagy ecc20bde9d Move deprecation messages to a separate header
7 years ago
Gergely Nagy 8f07f038ca Bump the API version
7 years ago
Gergely Nagy ee5cc576a0 Updated to use the new plugin APIs
7 years ago
Gergely Nagy e9b9d41626 Updated to use the new plugin APIs
7 years ago
Gergely Nagy e249fd2de6 handleKeyswitchEvent: Fix a thinko that broke old-style plugins
7 years ago
Gergely Nagy 19cffca5c4 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 445655a666 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 8074c18d2d Updated to use the new plugin APIs
7 years ago
Gergely Nagy 5d71c259f4 Updated to use the new plugin APIs
7 years ago
Gergely Nagy bfe38620bd Updated to use the new plugin APIs
7 years ago
Gergely Nagy f3887ec283 Updated to work with the new plugin API
7 years ago
Gergely Nagy 33eb5cae03 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 0bd1711371 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 4b061994fc Updated to use the new plugin APIs
7 years ago
Gergely Nagy d9ff915633 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 592c094565 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 0635518f9d Updated to use the new plugin APIs
7 years ago
Gergely Nagy 8f2d4f360a Updated to use the new plugin APIs
7 years ago
Gergely Nagy 3da1061e19 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 79c6c4f266 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 5649551955 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 6d13e82366 Updated to use the new plugin APIs
7 years ago
Gergely Nagy d668dce127 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 115e439a4c Updated to use the new plugin APIs
7 years ago
Gergely Nagy 0f32840a3a Updated to use the new plugin APIs
7 years ago
Gergely Nagy 9f8e87c2d1 Updated to use the new plugin APIs
7 years ago
Gergely Nagy be659b4043 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 962d959a7f Updated to use the new plugin APIs
7 years ago
Gergely Nagy 6b1745f339 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 71a956e3f2 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 94b7d13990 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 6602b30d0a Updated to use the new plugin APIs
7 years ago
Gergely Nagy ee78ff88a7 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 191ecdb000 Updated to use the new plugin APIs
7 years ago
noseglasses 8130dfdf1d Major redesign of the plugin and hooking interface
7 years ago
Gergely Nagy 56f85a7607 Make astyle happy
7 years ago
UniversalTimeCodeGit c33ec4ba7e Implement Heatmap Reset Method
7 years ago
Gergely Nagy 5399bda445 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 435018eb6a Updated to use the new plugin APIs
7 years ago
Gergely Nagy 8e4bfac703 Updated to use the new plugin APIs
7 years ago
Michael Richters 6036e908f5 Ignore any event with INJECTED flag
7 years ago
Jesse Vincent b565dab644 pass by value to save some flash
7 years ago
Jesse Vincent 9b44d02e6e Typo fix
7 years ago
Jesse Vincent eea0c8b47e astyle
7 years ago
Jesse Vincent 3dd86e34dd Refactoring to save 44 more PROGMEM and 12 more RAM
7 years ago
Jesse Vincent b144f626e4 refactor to reuse some code and be a bit smarter about data.
7 years ago
Gergely Nagy 2130521b6d
Merge pull request #16 from cyrossignol/fix-warp-dragging
7 years ago
Gergely Nagy 36333263ef Improved step timeout calculation
7 years ago
Gergely Nagy 0c6054018f Allow one to set double-tap stickyness separately for OSM and OSL
7 years ago
Gergely Nagy 73d9997b54 Use timers instead of ticks to time when to update the effects
7 years ago
Gergely Nagy dd80ab1abf Introduce a way to set the double-tap timeout separately
7 years ago
Gergely Nagy fb4c0d8a70 Initial import
7 years ago
Ryan Anderson b18465033e Reset the acceleration timer each time it expires.
7 years ago
Gergely Nagy a5ceb5833a Use the triggering coordinates when injecting events
7 years ago
Cy Rossignol a407aa29b0 Add an optional 9-sector-grid warp size
7 years ago
Gergely Nagy 842f6ed98a Use Kaleidoscope-Ranges for the enable/disable keys
7 years ago
Gergely Nagy af5238c6cb Add a SpaceCadet range
7 years ago
Gergely Nagy 198e332e05 breath_compute: Use default arguments instead of three methods
7 years ago
Gergely Nagy f321388ed9
Merge pull request #19 from advisoray/master
7 years ago
Gergely Nagy f56de510ae
Merge pull request #16 from CapeLeidokos/ng_pr_macro_arguments_check
7 years ago
Michael Richters cef1926465 Fixed brightness jump on overflow
7 years ago
Michael Richters bd4acf3984 Better explanation of the in-bounds code
7 years ago
Michael Richters 1f2d32ed79 Fix for all out of bounds LED addressing
7 years ago
Jesse Vincent 0cd6634f95
Merge pull request #3 from gedankenexperimenter/slowdown
7 years ago
Michael Richters b908d2ec69 Change the upper bound to match the lower bound
7 years ago
Michael Richters 3be7859783 Slow down the chase to reflect the recent optimizations
7 years ago
Cy Rossignol b370681111 Fix warping while dragging the mouse
7 years ago
Michael Richters 9964a3ce70 Fixed syncTimer overflow condition
7 years ago
Toon Claes e01c7106f6 Add Rainbow stalker effect
7 years ago
Michael Richters e2519b440b Don't test for timeouts if the first queue entry is a delayed qukeys release
7 years ago
Michael Richters 4e624afb33 Fixed random input bug & restructured queue flushing
7 years ago
Michael Richters 32a8537c28 Added a configurable release delay on qukey release
7 years ago
Michael Richters 26c5bd7162
Ignore keyswitch events with out-of-bounds addresses (#36)
7 years ago
Michael Richters 1828c9fa2d
Guarantee that the first key in the queue is an undetermined qukey (#34)
7 years ago
Gergely Nagy 8d4d2eec4d handleKeyswitchEvent: Document the behaviour for idle keys
7 years ago
Gergely Nagy 7213f7577a actOnHalfRow: Do not handle events on fully idle positions
7 years ago
Gergely Nagy e6f7d2c74b Further actOnMatrixScan optimizations
7 years ago
Marty Gentillon effa6eba15 Numpad now properly restores the former numlock state on deactivation.
7 years ago
Gergely Nagy e17869e1a1 actOnMatrixScan: Optimize the idle case
7 years ago
Ben Gemperline dcddb26fa0 Add ability to change hue / saturation in breath_compute
7 years ago
Ben Gemperline 47e5d84153 Extended functionality + fix Alt key under Windows
7 years ago
Gergely Nagy 3f35cab706 Drop an unnecessary handleKeyswitchEvent call
7 years ago
Piers Cawley 995df8148b Eliminate unnecessary `sendKeyboardReport`
7 years ago
Gergely Nagy 380f09f127 Drop an unnecessary handleKeyswitchEvent call
7 years ago
Piers Cawley 6dcb15474e Eliminate unnecessary `sendKeyboardReport`
7 years ago
Ben Gemperline e59eef6246 Updates to BootGreeting to allow better user customization
7 years ago
Jesse Vincent 842294af78
Merge pull request #275 from CapeLeidokos/ng_pr_macro_helpers
7 years ago
Maxime de Roucy a6ad9ab2aa major rewrite: allow the user to set his own heat_color
7 years ago
Gergely Nagy 78710d0247
Merge pull request #3 from MartyGentillon/master
7 years ago
Gergely Nagy 3e7b4cb737
Merge pull request #2 from edanaher/fix-numlock-off
7 years ago
Gergely Nagy 04d5790aa7
Merge pull request #286 from keyboardio/f/hid-adaptor/hardware-tied
7 years ago
Gergely Nagy 8af093c432 Fix a mostly harmless warning
7 years ago
Gergely Nagy e369aa61e6 make astyle
7 years ago
Maxime de Roucy deb92d85dd Don't enable LED on Key_NoKey
7 years ago
Marty Gentillon d5369288fb NumPad now restores the former num lock state on deactivation.
7 years ago
Evan Danaher 1017cfd600 Send numlock keypress when disabling the numpad layer.
7 years ago
Michael Richters 6055c39511 Give the ranges enum a type
7 years ago
Michael Richters c9727199d4 Corrected macro for HID_CONSUMER_AC_DOWNLOAD
7 years ago
Gergely Nagy ea7454ddc2 Correct a typo
7 years ago
tobymiller1 890f179746 changes requested
7 years ago
noseglasses 869ba74edf
Update macro_helpers.h
7 years ago
Toby Miller 86b5e9be59 change windows hex mapping
7 years ago
tazlor 4f95cf8415
Reset bad keys before each test.
7 years ago
Iliana Weller 33717489b5
Add public getter `is_active`
7 years ago
Iliana Weller 088774089a
Enable focus command `led.mode p`
7 years ago
Michael Richters 8adc1d94a9 Fixed qukeys causing layer shifts to get stuck
7 years ago
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
Michael Richters 0fa876f912
Added support for DualUse key definitions in keymap (#27)
7 years ago
Michael Richters f6f5f9ae3b Fixed layer-shift bugs
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 a06447211f Changed default timeout from 500ms to 250ms
7 years ago
Michael Richters 778cb705bc Correct for timer overflow
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
Michael Richters 71d2be1264 Define flushing_queue_ & fix logic error
7 years ago
Michael Richters 94db15ad08 Use a static variable instead of INJECTED keyswitch state
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
Gergely Nagy b4dd6706df
Merge pull request #8 from jamesnvc/update-on-focus
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
James N. V. Cash 31bbd890c4 Mark the layout "dirty" on focus hook change, so it updates
7 years ago
matt venn 02a2a6c54a fixed missing newline
7 years ago
Selene Scriven b31ca24d52 Merge branch 'master' of https://github.com/ToyKeeper/Kaleidoscope-LED-Wavepool
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
Gergely Nagy 4b6ca2fab3 Fix stickied OneShot clearing
7 years ago
Gergely Nagy 62f619a5c4 Cancel stickies too
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 421556f7cc Correct array initialization
7 years ago
Michael Richters 41437c789a Spurious comments removed
7 years ago
Michael Richters e842a7cef5 Removed trailing underscore from public member variable names
7 years ago
Michael Richters 50a074bafc Make internal functions private
7 years ago
Michael Richters e5813aba55 Removed unnecessary comments
7 years ago
Michael Richters f2894fa455 Removed unused & commented init() function
7 years ago
Michael Richters d33deda114 astyle
7 years ago
Michael Richters c112cc615d Flush non-qukeys from the head of the queue
7 years ago
Michael Richters abea4c281c Simplify if(keyToggledOn)
7 years ago
Michael Richters 65163be9c7
Store qukey state as a bitfield instead of a struct member (#15)
7 years ago
Gergely Nagy b0b1283975 make astyle
7 years ago
Michael Richters 632e876084 Mask keys when they're in the queue; unmask when flushed
7 years ago
Michael Richters ba67fe2ee6 Fixed addr::unmask()
7 years ago
Michael Richters 0e951d8b46 Changed parameter name
7 years ago
Michael Richters f2dc52ba0b Added mask() & unmask() functions
7 years ago
Michael Richters 2db772aeca Better pos-scan flushing of the key queue
7 years ago
Michael Richters 6102388813 Call handleKeyswitchEvent() again after restoring the current report
7 years ago
Michael Richters 8fcff0109f Small improvement to QUKEYS() macro
7 years ago
Michael Richters 6ca34d7f99 Added a function to toggle Qukeys on/off
7 years ago
Michael Richters d12a4870fe Added `setTimeout()` function to set the time limit in sketch
7 years ago
Michael Richters cb16b32215 Fixed `QUKEYS()` macro for defining qukeys in sketch
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
Michael Richters 87c98b15af Direct manipulation of `Keyboard.keyReport` & `.lastKeyReport`
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
Michael Richters 2fba5c4541 First working version
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 eff16ded81 Not functional yet, but doesn't seem to break anything else
7 years ago
Michael Richters 721baeca78 Fixed lots of compilation errors
7 years ago
Michael Richters 5bfe5c07eb Version 1 of the Qukeys implementation
7 years ago
Michael Richters 29c243eda5 Added addr.h with helper functions
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
Michael Richters ac354318d3 Basic skeleton code
7 years ago
Gergely Nagy df72fb710f Fix mouse keys getting occasionally stuck
7 years ago
Gergely Nagy be49df2806 Fix ConsumerControl repeating
7 years ago
Gergely Nagy 8949536491
Merge pull request #9 from gedankenexperimenter/bug/defaults
7 years ago
Michael Richters 06525bc91d Set lock_start_time to last_key_time when locking the keyboard
7 years ago
Michael Richters 05dfe5be7e Changed idle_time_limit to 5 minutes
7 years ago
TheBaronHimself 8f4a34d4b9 Mask escape key when pressed to cancel one shot
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
Gergely Nagy 81179aaf0e Layer keys should not cancel OneShot
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
James N. V. Cash ed3b211561 Formatting
7 years ago
James N. V. Cash 456e1cb82b Update function call to keep in sync with other PR
7 years ago
James N. V. Cash 1e4f37c70d Try to name hook function better
7 years ago
James N. V. Cash e76fc6cfa4 Add focus hook to accept theme updates for single layers
7 years ago
James N. V. Cash 6a5a7166c1 Add theme focus handler for layerwise themes
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
Donald Curtis 35c8352ef0 Fix update check was always checking.
7 years ago
James N. V. Cash c44d80feef Call saveAsPrevious even if mod, to avoid triggering sticky key
7 years ago
James N. V. Cash 71dce27a48 Don't cancel one-shot if other key pressed is a modifier
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
Ben Gemperline e4a00f2a33 Fixed issue with default constructor and no map resulting in failing to initialize keyboard
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
David Glasser 049a057b5e Show sticky keys in a different color
7 years ago
David Glasser 2d0152e416 Expose OneShot.isSticky
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 4850787b65 Decrease the timer precision to seconds
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
Gergely Nagy 920b265a86 Stop using deprecated interfaces
7 years ago
Gergely Nagy 91971489cf Stop using deprecated interfaces
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
Ben Gemperline 5d4d7820ae astyle
7 years ago
Ben Gemperline 1a73d22da7 Updated sources to use newer method and remove map_size variable requirement
7 years ago
Ben Gemperline 90c1f7cc13 Updated spacing in the comments
7 years ago
Ben Gemperline 9655f2254c First try at converting to get rid of the map_size variable
7 years ago
Ben Gemperline 0597bb2a1d Added macro to the header file and rearranged definitions.
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
Ben Gemperline 3d19d9544e Removed variable that was set but not used in SpaceCadet.cpp:158
7 years ago
Ben Gemperline 51f0acbb94 Ran astyle on code
7 years ago
Ben Gemperline 4ca7664442 Updated variable naming to fit style guide and fixed compilation error in example file
7 years ago
Gergely Nagy a5883b4b2e isActive() should take pressed & sticky states into consideration
7 years ago
Ben Gemperline fff8179587 Updated documentation and removed debug statements and unnecessary header files.
7 years ago
Ben Gemperline c3348eb096 Initial commit after changes to support multiple keys
7 years ago
Gergely Nagy 3fdbc72f81 Limit layers we work on to max_layers_
7 years ago
Gergely Nagy 26b07ba67a Revert "Add a way to optimize for a one-shot-only setup."
7 years ago
Gergely Nagy e9c03b5fd8 Fix isActive(key)
7 years ago
Gergely Nagy b3e1f73546 Add a way to optimize for a one-shot-only setup.
7 years ago
Gergely Nagy f233cf470f make astyle
7 years ago
Gergely Nagy 219f28ba99 Initial import
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
Gergely Nagy 7a582f3c4b Revert "Use Layer.highest() instead of Layer.top()"
7 years ago
Gergely Nagy 7f48bf7cff Make cpplint happy
7 years ago
Gergely Nagy f78a355760 Use Layer.highest() instead of 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 0c9ff2f22b Stop using deprecated interfaces
7 years ago
Gergely Nagy 9082741e97 Stop using deprecated interfaces
7 years ago
Gergely Nagy 2c27bf8476 Stop using deprecated interfaces
7 years ago
Gergely Nagy 068c33d18c Stop using deprecated interfaces
7 years ago
Gergely Nagy a74169961c Stop using deprecated interfaces
7 years ago
Gergely Nagy 62c1672bf3 Stop using deprecated interfaces
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 f27a3a46ec Stop using deprecated interfaces
7 years ago
Gergely Nagy d77f6f8de0 Stop using obsolete interfaces
7 years ago
Gergely Nagy a57679c014 Stop using obsolete functions
7 years ago
Gergely Nagy bd1f7dfe36 Stop using obsolete functions
7 years ago
Gergely Nagy 0cb75c5e7f Stop using obsolete functions
7 years ago
Gergely Nagy 119d021e6a Layer: Add Layer.highest() to access the cached highestLayer
7 years ago
Gergely Nagy a8fdd4b9c4 Major performance optimization
7 years ago
Gergely Nagy 4a494c686b Drop transparency support
7 years ago
Gergely Nagy 7eded65ba3 Fix the LEDControl references
7 years ago
Gergely Nagy dc0b2a2b91 Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy 8375838c81 Redo the logic that checks if we need to highlight
7 years ago
Gergely Nagy 6fbcf4ec5d Add a `OneShot.isActive(key)` method
7 years ago
Gergely Nagy f39cb776a3 Lift out the `isOS` macro into `OneShot.isOneShotKey`.
7 years ago
Gergely Nagy e15aaed8c6 loopHook: Correct a thinko
7 years ago
kaleidoscope@gergo.csillger.hu ddd7ce47f7 Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy da0c998760 Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy b829d6371b 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 7c67b22dff 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 559858db8a Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy fe53c4fabe Update to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy d4ddd5fd73 Update to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy b4c07442ac Major update of how LED modes work
7 years ago
Gergely Nagy 2e1ae36cff Use the new Layer.lookupOnActiveLayer function
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
Selene Scriven b026f56523 Added tweening / frame interpolation for smoother movement.
7 years ago
Gergely Nagy afce335f30 Drop the getKeyColor function from the header
7 years ago
Gergely Nagy 453e30038f isLayerKeyActive: Check for flag equality, not just two bits set
7 years ago
Gergely Nagy 5cd5eab50d Use non-deprecated functions for event handler & loop hook registration
7 years ago
Gergely Nagy e64f489845 Make it possible to disable the double-tap-sticky feature
7 years ago
Gergely Nagy f25480730e When checking for normal layer keys, make sure the RESERVED bit isn't set
7 years ago
Gergely Nagy 810acd9842 When cancelling after hold timeout, turn should_cancel_ off too.
7 years ago
Gergely Nagy a0dad6bf0e Use Kaleidoscope.useLoopHook() instead of loop_hook_use()
7 years ago
Gergely Nagy 8becec569e Add support for highlighting layer keys too
7 years ago
Gergely Nagy de3d793b40 Move the modifier activity check into `isModifierActive`
7 years ago
Gergely Nagy b60937f9db Combine modifier & modifier activeness checking
7 years ago
Gergely Nagy 58d07f1e06 Lift out `isModifier` into its own function
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 b1953f07a2 OSL: Flip the `should_mask_on_interrupt_` bit on OSL release, not press
7 years ago
Gergely Nagy 0afa12c7af Make cpplint happy too
7 years ago
Gergely Nagy d9e7536221 Fix the range
7 years ago
Gergely Nagy b7415039cb make astyle
7 years ago
Gergely Nagy 89fce67998 Use the new kaleidoscope::ranges::STENO_START values
7 years ago
Gergely Nagy 155b7639ad Introduce kaleidoscope::ranges::FIRST & ::SAFE_START
7 years ago
Gergely Nagy 072f7a3896 Add the Steno range
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 87fbf85995 eventHandlerHook: Compute the one-shot index early
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 52c8402006 Do not mask one-shot modifiers, only layers
7 years ago
Selene Scriven d4af1ff2f5 Made Wavepool mode smaller in ROM. (about 300 bytes smaller)
7 years ago
Gergely Nagy 37ac11bb49 Remove some unnecessary code
7 years ago
Gergely Nagy 0a566eb58f Fix masking of the right-hand side.
7 years ago
Selene Scriven e2808220e5 Made idle animation produce somewhat deeper raindrops.
7 years ago
Selene Scriven 61b5086eb4 Fixed bug with missing red hues in color rotation.
7 years ago
Selene Scriven 11c643bba8 Removed more dead code.
7 years ago
Selene Scriven 6e5a10a1c3 Added 'idle_timeout' config option.
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
Selene Scriven 485366553f made the LEDs a little brighter
7 years ago
Selene Scriven 32a0809929 moved logical position of Fn keys, disabled old code
7 years ago
Selene Scriven a3c6f022bf fixed bug where upper corners could get stuck
7 years ago
Selene Scriven d2002565bd cleaned out dead code
7 years ago
Selene Scriven b0f6e350d3 Early working version of wavepool effect... is buggy.
7 years ago
Selene Scriven f402fb2ead copied algernon's LED Stalker effect as a code base
7 years ago
Gergely Nagy 2fe4ef3aee Held + normal key should prevent oneshot from firing
7 years ago
Gergely Nagy 281db87abc Fix kaleidoscope::steno::END
7 years ago
Gergely Nagy 85336c5172 Use the KeyboardHardware-provided key masking functions
7 years ago
Gergely Nagy ca8f586b2e Document the use of key masking a bit
7 years ago
Gergely Nagy 14197de8e6 Add a few words about masking as in-code comments.
7 years ago
Gergely Nagy a31d686911 When interrupting a tap-dance sequence, make sure no extras are sent
7 years ago
Jesse Vincent c575fd0d52
When in numlock, we should only light up the numpad keys, not everything else
7 years ago
Gergely Nagy f14e31fdd6 Limit the layer checking to `max_layers_`
7 years ago
Gergely Nagy dd63d76369 Initial import
7 years ago
Jesse Vincent 1206a3cafb
astyle
7 years ago
Jesse Vincent a9068d16d4
Unify repeated code to a codepath. Saves us 16 bytes
7 years ago
Jesse Vincent cd847a7ead
extract our ascii lookup table function. (saves 16 bytes)
7 years ago
Gergely Nagy f0b3ad2b14 Implement key masking for momentary layer keys
7 years ago
Gergely Nagy 40e6656f6e Add helpers to aid in implementing key masking
7 years ago
Gergely Nagy 92050c2ab7 Highlight only those keys that have no flag set
7 years ago
Gergely Nagy 65fee12dad Move Mouse & AbsoluteMouse initialization to MouseWrapper.begin
7 years ago
Gergely Nagy 23b341e2b3 Skip layer switching keys when it comes to highlighting
7 years ago
Jesse Vincent e9c532509f
Switch AbsoluteMouse to use its own HID endpoint
7 years ago
Gergely Nagy 4f7e60ec52 Highlight changed keys on the NumLock layer, not just NumPad ones
7 years ago
Jesse Vincent 5e79b16923
switch around our constants so we have more room for mouse buttons in the bit vector
7 years ago
Jesse Vincent ef47dc5447
switch mouse button constants to those defined in the HID library.
7 years ago
Jesse Vincent 8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
7 years ago
Jesse Vincent 13646a6581
port to new hid facade
7 years ago
Jesse Vincent a38f033e2b
port to hid facade
7 years ago
Jesse Vincent 271aba9373
port to new hid facade
7 years ago
Jesse Vincent 9957fca651
Update to new hid facade
7 years ago
Jesse Vincent 6b6cbd4803
port to new hid facade
7 years ago
Jesse Vincent e5f9929ed0
Port to new kaleidoscope::hid facade
7 years ago
Jesse Vincent 93e83ed75a
Port to new hid facade
7 years ago
Jesse Vincent 189c2781dc
Port to new hid facade
7 years ago
Jesse Vincent b19fd73f1f
astyle
7 years ago
Jesse Vincent cf08f96d1c
Port to new HID facade
7 years ago
Jesse Vincent b87014c544
Port to the new HID facade
7 years ago
Jesse Vincent 7919922036
Move the hid facade out into its own namespace
7 years ago
Jesse Vincent 7e73341772
Move our hid facade into kaleidoscope::hid
7 years ago
Jesse Vincent c9734385c5
press/releaseKeyRaw -> press/releaseRawKey
7 years ago
Jesse Vincent 4ee9ca4e63
pressConsumer/releaseConsumer -> pressConsumerControl / releaseConsumerControl
7 years ago
Jesse Vincent f5aaedffd5
add an "isModifierActive" to the hid facade
7 years ago
Jesse Vincent 02695b8cea
Add a facde for KeyboardioHID's *.begin()
7 years ago
Jesse Vincent 8b187366c7
Create an abstraction on top of the KeyboardioHID interface
7 years ago
Jesse Vincent 42cabcfa6f
camelCasing wait_for_keypress
7 years ago
Jesse Vincent 2c08dd867b
camelCasing press_button to pressButton
7 years ago
Jesse Vincent cb3a6d78c8
press_key-> pressKey
7 years ago
Jesse Vincent 396ae22a67
release_key->releaseKey
7 years ago
Jesse Vincent 9573630c19
camelCasing of internal functions in Hardware file
7 years ago
Jesse Vincent d0e85633b8
camelCasing of _matrix functions
7 years ago
Jesse Vincent 4712aabfd4
camelCasing of _matrix functions
7 years ago
Jesse Vincent e29e220416
camelCasing of _matrix functions
7 years ago
Jesse Vincent c4fccab55b
get_key_color -> getKeyColor
7 years ago
Jesse Vincent 137ff37610
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 978d04625d
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 082b409054
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 9ae181f65c
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent e8901c55a0
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 2e428d8ccc
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 6c723bee32
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent a84060e8d1
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 769470fbd6
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 9953d874a6
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 8c35edcfb5
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent b65f175343
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent 727ce67321
CamelCaseifcation of LED related functions
7 years ago
Jesse Vincent bb72deed23
CamelCase of handle_*_key*
7 years ago
Jesse Vincent 5fb304851f
CamelCase of handle_*_key*
7 years ago
Jesse Vincent 0235d41ae0
CamelCase of handle_*_key*
7 years ago
Jesse Vincent 63e616099e
CamelCase of handle_*_key*
7 years ago
Jesse Vincent 061047c52e
CamelCase of handle_*_key*
7 years ago
Jesse Vincent ee0ccdd91d
CamelCase of handle_*_key*
7 years ago
Jesse Vincent 6b850c140d
Switch Macros to use an API rather than doing its own bitmath
7 years ago
Jesse Vincent 66ff95877d
CamelCase of handle_*_key*
7 years ago