mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-02 19:03:54 +02:00
KeyboardLayout to KeyboardMap.
This commit is contained in:
parent
8c47cbae68
commit
0e09609c67
8 changed files with 76 additions and 22 deletions
|
@ -43,7 +43,8 @@ func (h *RoomHandler) Route(r chi.Router) {
|
|||
})
|
||||
|
||||
r.Route("/keyboard", func(r chi.Router) {
|
||||
r.With(auth.HostsOnly).Post("/layout", h.keyboardLayoutSet)
|
||||
r.Get("/map", h.keyboardMapGet)
|
||||
r.With(auth.HostsOnly).Post("/map", h.keyboardMapSet)
|
||||
|
||||
r.Get("/modifiers", h.keyboardModifiersGet)
|
||||
r.With(auth.HostsOnly).Post("/modifiers", h.keyboardModifiersSet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue