Skip to content

Fix pageUp and pageDown boot command usb key strokes#46

Merged
sylviamoss merged 1 commit intomainfrom
fix_usb_page_keys
Mar 30, 2021
Merged

Fix pageUp and pageDown boot command usb key strokes#46
sylviamoss merged 1 commit intomainfrom
fix_usb_page_keys

Conversation

@sylviamoss
Copy link
Copy Markdown

@sylviamoss sylviamoss requested a review from a team as a code owner March 30, 2021 09:50
@sylviamoss
Copy link
Copy Markdown
Author

sylviamoss commented Mar 30, 2021

User confirmed the changes work hashicorp/packer#10796 (comment)

Comment thread bootcommand/usb_driver.go
"home": key.CodeHome,
"end": key.CodeEnd,
"pageUp": key.CodePageUp,
"pageDown": key.CodePageDown,
Copy link
Copy Markdown
Contributor

@azr azr Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that mean that pageUp will stop working ? and only pageup will ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They never worked. The keystrokes are lowercased before matching the map. All of the others are lowercased I don't know why I added these two camel-cased in the first place. 🤔

Copy link
Copy Markdown
Contributor

@azr azr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a tiny question, other than that LGTM !

Copy link
Copy Markdown
Contributor

@nywilken nywilken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sylviamoss sylviamoss merged commit a405053 into main Mar 30, 2021
@sylviamoss sylviamoss deleted the fix_usb_page_keys branch March 30, 2021 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Special pageDown not found with vsphere builder

3 participants