Commit Graph

70 Commits (b685e8f8fe066ae6deb7614ce42c57a8bd14f28e)
 

Author SHA1 Message Date
Gergely Nagy b685e8f8fe
Merge pull request #25 from benshine/fix/document-tap-duration
7 years ago
Benji Shine e978cceed2 Document how to change modes of one-shots. Fixes #24
7 years ago
Gergely Nagy 4b6ca2fab3 Fix stickied OneShot clearing
7 years ago
Gergely Nagy c194f0135c README.md: Document that modifiers & layer keys do not cancel OneShot
7 years ago
Gergely Nagy 81179aaf0e Layer keys should not cancel OneShot
7 years ago
Gergely Nagy 5a8cae7c21
Merge pull request #21 from jamesnvc/allow-modifiers
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
Gergely Nagy d48b263e05
Merge pull request #20 from arleym/patch-1
7 years ago
Arley McBlain f9eb669c04
update readme
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.
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
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