Commit Graph

58 Commits (b96067b2b63234be291695c7c20548c1a5575e24)
 

Author SHA1 Message Date
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.
7 years ago
Gergely Nagy b1953f07a2 OSL: Flip the `should_mask_on_interrupt_` bit on OSL release, not press
7 years ago
Gergely Nagy 87fbf85995 eventHandlerHook: Compute the one-shot index early
7 years ago
Gergely Nagy 52c8402006 Do not mask one-shot modifiers, only layers
7 years ago
Gergely Nagy 37ac11bb49 Remove some unnecessary code
7 years ago
Gergely Nagy 2fe4ef3aee Held + normal key should prevent oneshot from firing
7 years ago
Gergely Nagy 85336c5172 Use the KeyboardHardware-provided key masking functions
7 years ago
Jesse Vincent 42faebc873
Update Makefile to fix OS X build
7 years ago
Jesse Vincent 33a1fd6c34
Update README to match new hid facade
7 years ago
Jesse Vincent 061047c52e
CamelCase of handle_*_key*
7 years ago
Jesse Vincent c09fcd9e67
CamelCase of KeyIsPressed and KeyWasPressed
7 years ago
Jesse Vincent b244cec410
keyToggledO* camelcasing
7 years ago
Gergely Nagy f79b3b5f7d Kaleidoscope Style Guide conformance
7 years ago
Gergely Nagy 6be3cc0010 README.md: Update the documentation
7 years ago
Jesse Vincent 5d5d8747eb
Fixes to make cpplint partially happy
7 years ago
Jesse Vincent 3097fd0745
astyle to get us closer to cpplint-clean
7 years ago
Jesse Vincent a16411ff93
make astyle
7 years ago
Jesse Vincent c305e085a9
New build infrastructure
7 years ago
Jesse Vincent 5b1068065c
Fix typo
7 years ago
Jesse Vincent c892b4a30a
Update OneShot library to use new key defs
7 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
Gergely Nagy 59bc052301 Mask out interruptors
8 years ago
Gergely Nagy e1cee252d5 Fix isActive to be less strict
8 years ago
Gergely Nagy 7d024cabc0 Add an .isModifierActive method
8 years ago
Gergely Nagy 417ff1a07e OneShot: Allow chaining one-shots
8 years ago