Commit Graph

78 Commits (4ee376c6468947dfaa7071bad982f63741701cf2)
 

Author SHA1 Message Date
Gergely Nagy 4ee376c646 README.md: Document the .inject() method
7 years ago
Gergely Nagy c791e8163c Implement OneShot.isPressed()
7 years ago
Gergely Nagy 26bfce0b77 Update the example to show off Oneshot.inject()
7 years ago
Gergely Nagy ceaee8a74c
Merge pull request #31 from keyboardio/f/plugin-v2
7 years ago
Gergely Nagy d668dce127 Updated to use the new plugin APIs
7 years ago
Gergely Nagy 0c6054018f Allow one to set double-tap stickyness separately for OSM and OSL
7 years ago
Gergely Nagy dd80ab1abf Introduce a way to set the double-tap timeout separately
7 years ago
Gergely Nagy a5ceb5833a Use the triggering coordinates when injecting events
7 years ago
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
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