Disable/enable handler (layer) on activation/deactivation for use with PressRelease, StickyKeys, OneShot, SpaceCadet Can also be used with Modifier::* (pass in mod as HandelerID) Acts as the inverse of ActionHandler - this one enables when the button is released!
| 109 | /// Can also be used with Modifier::* (pass in mod as HandelerID) |
| 110 | /// Acts as the inverse of ActionHandler - this one enables when the button is released! |
| 111 | pub struct InverseActionHandler { |
| 112 | id: HandlerID, |
| 113 | } |
| 114 | impl InverseActionHandler { |
| 115 | pub fn new(id: HandlerID) -> InverseActionHandler { |
| 116 | InverseActionHandler{id} |
nothing calls this directly
no outgoing calls
no test coverage detected