Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boot_command syntax for sending custom key codes #5634

Open
mcandre opened this issue Nov 26, 2017 · 3 comments
Open

boot_command syntax for sending custom key codes #5634

mcandre opened this issue Nov 26, 2017 · 3 comments
Assignees
Labels
core Core components of Packer enhancement

Comments

@mcandre
Copy link

mcandre commented Nov 26, 2017

FOR FEATURES:

The packer boot_command syntax is far from complete for describing the kinds of keys that can be sent to guest VM's.

I'd like to see PR's to arrive for <leftCmdOn>/<leftCmdOff> (Command key in macOS), <leftWinOn>/<leftWinOff> (Windows key in Windows), <leftSupOn>/<leftSupOff> (generic Super key in macOS/Windows/Linux). In the meantime, however, it would suffice if packer simply offered some kind of syntax for entering raw keycodes within boot_command, perhaps something like <raw n>, that packer interprets as sending the decimal number n keycode to the hypervisor. This way, packer handles keyboard input much more flexibly, so that users don't have to wait around for PR's to handle more obscure key codes.

@rickard-von-essen
Copy link
Collaborator

Windows/Command/Super keys are all called L_GUI/R_GUI in keyboard nomenclature.

@SwampDragons
Copy link
Contributor

Whoever takes this on should probably tackle this at the same time as #5635

@kikitux kikitux self-assigned this Jan 4, 2018
@mwhooker
Copy link
Contributor

this should easily be doable once #6129 is in. I would be happy to assist with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core components of Packer enhancement
Projects
None yet
Development

No branches or pull requests

5 participants