map KeySym at client side

This commit is contained in:
Miroslav Šedivý
2020-06-13 16:21:11 +02:00
parent ca0b5b2d35
commit aa1fedcb24
9 changed files with 199 additions and 950 deletions

View File

@ -183,19 +183,19 @@ func (manager *RemoteManager) Scroll(x, y int) {
xorg.Scroll(x, y)
}
func (manager *RemoteManager) ButtonDown(code int) (*types.Button, error) {
func (manager *RemoteManager) ButtonDown(code int) error {
return xorg.ButtonDown(code)
}
func (manager *RemoteManager) KeyDown(code int) (*types.Key, error) {
func (manager *RemoteManager) KeyDown(code int) error {
return xorg.KeyDown(code)
}
func (manager *RemoteManager) ButtonUp(code int) (*types.Button, error) {
func (manager *RemoteManager) ButtonUp(code int) error {
return xorg.ButtonUp(code)
}
func (manager *RemoteManager) KeyUp(code int) (*types.Key, error) {
func (manager *RemoteManager) KeyUp(code int) error {
return xorg.KeyUp(code)
}