(keycode: u32)
| 13 | } |
| 14 | impl Key { |
| 15 | pub fn new(keycode: u32) -> Key { |
| 16 | Key { |
| 17 | keycode, |
| 18 | original_keycode: keycode, |
| 19 | ms_since_last: 0, |
| 20 | running_number: 0, |
| 21 | flag: 0, |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | #[derive(PartialEq, Debug)] |
| 26 | pub enum Event { |
nothing calls this directly
no outgoing calls
no test coverage detected