Fix C autotype on dvorak

This commit is contained in:
Bernd Schoolmann 2023-08-22 14:46:05 +02:00
parent ec0e3baea1
commit 418359b09e
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -35,7 +35,9 @@ func (d Dvorak) TypeKey(key Key, keyboard uinput.Keyboard) error {
break
case KeyCUpper:
keyboard.KeyDown(uinput.KeyLeftshift)
Sleep()
keyboard.KeyPress(uinput.KeyI)
Sleep()
keyboard.KeyUp(uinput.KeyLeftshift)
case KeyD:
keyboard.KeyPress(uinput.KeyH)