Commit Graph

62 Commits (c44d80feef9688a88521e2ff3a2260f54c9a0182)
 

Author SHA1 Message Date
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
Gergely Nagy a69a87989b Merge pull request #19 from jamesnvc/patch-1
7 years ago
James Cash 96440c8469 Update number of layers currently supported
7 years ago
Gergely Nagy b96067b2b6 Merge pull request #18 from glasser/glasser/is-sticky
7 years ago
David Glasser 2d0152e416 Expose OneShot.isSticky
7 years ago
Gergely Nagy 91971489cf Stop using deprecated interfaces
7 years ago
Gergely Nagy a5883b4b2e isActive() should take pressed & sticky states into consideration
7 years ago
Jesse Vincent 1ef65294ed Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy e9c03b5fd8 Fix isActive(key)
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 5cd5eab50d Use non-deprecated functions for event handler & loop hook registration
7 years ago
Gergely Nagy 40c843958a README & example update
7 years ago
Gergely Nagy e64f489845 Make it possible to disable the double-tap-sticky feature
7 years ago
Gergely Nagy 810acd9842 When cancelling after hold timeout, turn should_cancel_ off too.
8 years ago
Gergely Nagy b1953f07a2 OSL: Flip the `should_mask_on_interrupt_` bit on OSL release, not press
8 years ago
Gergely Nagy 87fbf85995 eventHandlerHook: Compute the one-shot index early
8 years ago
Gergely Nagy 52c8402006 Do not mask one-shot modifiers, only layers
8 years ago
Gergely Nagy 37ac11bb49 Remove some unnecessary code
8 years ago
Gergely Nagy 2fe4ef3aee Held + normal key should prevent oneshot from firing
8 years ago
Gergely Nagy 85336c5172 Use the KeyboardHardware-provided key masking functions
8 years ago
Jesse Vincent 42faebc873
Update Makefile to fix OS X build
8 years ago
Jesse Vincent 33a1fd6c34
Update README to match new hid facade
8 years ago
Jesse Vincent 061047c52e
CamelCase of handle_*_key*
8 years ago
Jesse Vincent c09fcd9e67
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent b244cec410
keyToggledO* camelcasing
8 years ago
Gergely Nagy f79b3b5f7d Kaleidoscope Style Guide conformance
8 years ago
Gergely Nagy 6be3cc0010 README.md: Update the documentation
8 years ago
Jesse Vincent 5d5d8747eb
Fixes to make cpplint partially happy
8 years ago
Jesse Vincent 3097fd0745
astyle to get us closer to cpplint-clean
8 years ago
Jesse Vincent a16411ff93
make astyle
8 years ago
Jesse Vincent c305e085a9
New build infrastructure
8 years ago
Jesse Vincent 5b1068065c
Fix typo
8 years ago
Jesse Vincent c892b4a30a
Update OneShot library to use new key defs
8 years ago
Jesse Vincent 14ed3a2b18 Use UNKNOWN_KEYSWITCH_LOCATION rather than a magic value
8 years ago
Jesse Vincent a3def769a0 Update to new handle_keyswitch_event API naming
8 years ago
Gergely Nagy e37c4690c4 README: Add a "Dependencies" section
8 years ago
Gergely Nagy 31ab612d90 Merge branch 'f/size-reduction'
8 years ago
Gergely Nagy 8bf7ec9dc8 Migrate to a state struct, for future proofness
8 years ago
Gergely Nagy 7534c13475 Reduce the amount of supported OneShot layers
8 years ago
Gergely Nagy fbb5dcb359 Fix the example to not use obsolete functions
8 years ago
Gergely Nagy 188b4bc02c Drop on, off, and enableAuto
8 years ago
Gergely Nagy 459b40eebc Test the plugin with Travis CI
8 years ago
Gergely Nagy 28228d07c7 The Big Rename
8 years ago
Gergely Nagy 4396a9f405 Use proper timers instead of a loop counter
8 years ago
Gergely Nagy c7994fb33c Separate effect and held timeouts
8 years ago
Gergely Nagy da2bc4d656 Expose a way to set the timeOut
8 years ago
Gergely Nagy 5394fc834f Use the new, double-add protected hook functions
8 years ago
Gergely Nagy 981ebb13d1 Don't use Key_LEDEffectNext in the example
8 years ago