fix typos
This commit is contained in:
parent
0ecf669077
commit
17ad17dd42
@ -32,12 +32,6 @@ func New(config *config.Remote) *RemoteManager {
|
||||
emmiter: events.New(),
|
||||
config: config,
|
||||
streaming: false,
|
||||
|
||||
keyboardModifierState: {
|
||||
CapsLock: false,
|
||||
NumLock: false,
|
||||
ScrollLock: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -229,6 +223,6 @@ func (manager *RemoteManager) SetKeyboard(layout string) {
|
||||
xorg.SetKeyboard(layout)
|
||||
}
|
||||
|
||||
func (manager *RemoteManager) SetKeyboard(NumLock int, CapsLock int, ScrollLock int) {
|
||||
func (manager *RemoteManager) SetKeyboardModifiers(NumLock int, CapsLock int, ScrollLock int) {
|
||||
xorg.SetKeyboardModifiers(NumLock, CapsLock, ScrollLock)
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ type RemoteManager interface {
|
||||
WriteClipboard(data string)
|
||||
ResetKeys()
|
||||
SetKeyboard(layout string)
|
||||
SetKeyboard(NumLock int, CapsLock int, ScrollLock int)
|
||||
SetKeyboardModifiers(NumLock int, CapsLock int, ScrollLock int)
|
||||
}
|
||||
|
Reference in New Issue
Block a user