mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-24 14:37:05 +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
|
@ -88,7 +88,7 @@ func (h *MessageHandlerCtx) Message(session types.Session, data types.WebSocketM
|
|||
return h.controlMove(session, payload)
|
||||
})
|
||||
case event.CONTROL_SCROLL:
|
||||
payload := &message.ControlPos{}
|
||||
payload := &message.ControlScroll{}
|
||||
err = utils.Unmarshal(payload, data.Payload, func() error {
|
||||
return h.controlScroll(session, payload)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue