mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-26 21:19:04 +02:00
Add Xorg modifiers (#57)
* implement additional modifiers to xorg. * xorg modifiers to API. * update modifiers api & add ws. * scroll pos rename to delta and add ctrl key.
This commit is contained in:
parent
a392163819
commit
4da7869e70
13 changed files with 166 additions and 89 deletions
|
@ -21,11 +21,18 @@ type Move struct {
|
|||
Y uint16
|
||||
}
|
||||
|
||||
type Scroll struct {
|
||||
// TODO: remove this once the client is fixed
|
||||
type Scroll_Old struct {
|
||||
X int16
|
||||
Y int16
|
||||
}
|
||||
|
||||
type Scroll struct {
|
||||
DeltaX int16
|
||||
DeltaY int16
|
||||
ControlKey bool
|
||||
}
|
||||
|
||||
type Key struct {
|
||||
Key uint32
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue