Compare commits
2 Commits
43177f17e1
...
ea8027ee20
Author | SHA1 | Date |
---|---|---|
paring | ea8027ee20 | |
paring | d2f03bac56 |
|
@ -124,4 +124,6 @@ pub enum VK {
|
||||||
MouseMiddle,
|
MouseMiddle,
|
||||||
MouseX1,
|
MouseX1,
|
||||||
MouseX2,
|
MouseX2,
|
||||||
|
|
||||||
|
Other(u16),
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
use std::time::SystemTime;
|
use std::time::SystemTime;
|
||||||
|
|
||||||
|
use crate::keycodes::VK;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum EventData {
|
pub enum EventData {
|
||||||
KeyPress(u16),
|
KeyPress(VK),
|
||||||
KeyRelease(u16),
|
KeyRelease(VK),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
Reference in New Issue