(&mut self, output: &mut dyn USBKeyOut)
| 129 | output.send_keys(&[KeyCode::H]); |
| 130 | } |
| 131 | fn on_deactivate(&mut self, output: &mut dyn USBKeyOut) { |
| 132 | self.write().up_counter += 1; |
| 133 | output.send_keys(&[KeyCode::I]); |
| 134 | } |
| 135 | } |
| 136 | impl OnOff for PressCounter { |
| 137 | fn on_activate(&mut self, output: &mut dyn USBKeyOut) { |