Skip to content

Commit

Permalink
add menu key.
Browse files Browse the repository at this point in the history
Replaces #5989
  • Loading branch information
mwhooker committed Apr 19, 2018
1 parent 4948f10 commit f08a8df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/bootcommand/pc_xt_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func NewPCXTDriver(send SendCodeFunc, chunkSize int) *pcXTDriver {
sMap["leftctrl"] = []string{"1d", "9d"}
sMap["leftshift"] = []string{"2a", "aa"}
sMap["leftsuper"] = []string{"e05b", "e0db"}
sMap["menu"] = []string{"e05d", "e0dd"}
sMap["pagedown"] = []string{"e051", "e0d1"}
sMap["pageup"] = []string{"e049", "e0c9"}
sMap["return"] = []string{"1c", "9c"}
Expand Down
1 change: 1 addition & 0 deletions common/bootcommand/vnc_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func NewVNCDriver(c VNCKeyEvent) *vncDriver {
sMap["leftctrl"] = 0xFFE3
sMap["leftshift"] = 0xFFE1
sMap["leftsuper"] = 0xFFEB
sMap["menu"] = 0xFF67
sMap["pagedown"] = 0xFF56
sMap["pageup"] = 0xFF55
sMap["return"] = 0xFF0D
Expand Down
2 changes: 2 additions & 0 deletions website/source/partials/builders/_boot-command.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ command, they will be replaced by the proper key:

- `<pageUp> <pageDown>` - Simulates pressing the page up and page down keys.

- `<menu>` - Simulates pressing the Menu key.

- `<leftAlt> <rightAlt>` - Simulates pressing the alt key.

- `<leftCtrl> <rightCtrl>` - Simulates pressing the ctrl key.
Expand Down

0 comments on commit f08a8df

Please sign in to comment.