parent
e9e27941cc
commit
7d43324359
|
@ -67,6 +67,7 @@ func NewPCXTDriver(send SendCodeFunc, chunkSize int) *pcXTDriver {
|
||||||
sMap["leftctrl"] = []string{"1d", "9d"}
|
sMap["leftctrl"] = []string{"1d", "9d"}
|
||||||
sMap["leftshift"] = []string{"2a", "aa"}
|
sMap["leftshift"] = []string{"2a", "aa"}
|
||||||
sMap["leftsuper"] = []string{"e05b", "e0db"}
|
sMap["leftsuper"] = []string{"e05b", "e0db"}
|
||||||
|
sMap["menu"] = []string{"e05d", "e0dd"}
|
||||||
sMap["pagedown"] = []string{"e051", "e0d1"}
|
sMap["pagedown"] = []string{"e051", "e0d1"}
|
||||||
sMap["pageup"] = []string{"e049", "e0c9"}
|
sMap["pageup"] = []string{"e049", "e0c9"}
|
||||||
sMap["return"] = []string{"1c", "9c"}
|
sMap["return"] = []string{"1c", "9c"}
|
||||||
|
|
|
@ -60,6 +60,7 @@ func NewVNCDriver(c VNCKeyEvent) *vncDriver {
|
||||||
sMap["leftctrl"] = 0xFFE3
|
sMap["leftctrl"] = 0xFFE3
|
||||||
sMap["leftshift"] = 0xFFE1
|
sMap["leftshift"] = 0xFFE1
|
||||||
sMap["leftsuper"] = 0xFFEB
|
sMap["leftsuper"] = 0xFFEB
|
||||||
|
sMap["menu"] = 0xFF67
|
||||||
sMap["pagedown"] = 0xFF56
|
sMap["pagedown"] = 0xFF56
|
||||||
sMap["pageup"] = 0xFF55
|
sMap["pageup"] = 0xFF55
|
||||||
sMap["return"] = 0xFF0D
|
sMap["return"] = 0xFF0D
|
||||||
|
|
|
@ -23,6 +23,8 @@ command, they will be replaced by the proper key:
|
||||||
|
|
||||||
- `<pageUp> <pageDown>` - Simulates pressing the page up and page down keys.
|
- `<pageUp> <pageDown>` - Simulates pressing the page up and page down keys.
|
||||||
|
|
||||||
|
- `<menu>` - Simulates pressing the Menu key.
|
||||||
|
|
||||||
- `<leftAlt> <rightAlt>` - Simulates pressing the alt key.
|
- `<leftAlt> <rightAlt>` - Simulates pressing the alt key.
|
||||||
|
|
||||||
- `<leftCtrl> <rightCtrl>` - Simulates pressing the ctrl key.
|
- `<leftCtrl> <rightCtrl>` - Simulates pressing the ctrl key.
|
||||||
|
|
Loading…
Reference in New Issue