MCPcopy Create free account
hub / github.com/TyberiusPrime/KeyToKey / ActionHandler

Class ActionHandler

src/premade.rs:89–91  ·  view source on GitHub ↗

Enable/disable handler (layer) on activation/deactivation for use with PressRelease, StickyKeys, OneShot, SpaceCadet Can also be used with Modifier::* (pass in mod as HandelerID)

Source from the content-addressed store, hash-verified

87///
88/// Can also be used with Modifier::* (pass in mod as HandelerID)
89pub struct ActionHandler {
90 id: HandlerID,
91}
92impl ActionHandler {
93 pub fn new(id: HandlerID) -> ActionHandler {
94 ActionHandler{id}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected