You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a small quality of life improvement I'd love to see in this plugin: The ability to use correct references to macOS-specific modifier keys (Command and Option keys) in the boot_command.
Specifically, what I'd like to have is:
The ability to use <leftCmdOn> and its left/right off/on variants to send the Command key.
The ability to use <leftOptOn> and its left/right off/on variants to send the Option key.
Right now, <leftAlt> an <rightAlt> both map to left and right Command respectively, so I assume these could just be aliased somehow.
I haven't figured out how to send an Option key command yet though, so I'm not sure how that would be implemented.
I'm willing to do this work myself if someone could first give me some guidance or ideas on where and how this modification might be made.
The text was updated successfully, but these errors were encountered:
I'm not sure at what layer these changes would need to be made, so I've also opened a matching issue on the hashicorp/packer-plugin-sdk repo: hashicorp/packer-plugin-sdk#266
hashicorp/packer-plugin-sdk#266 is the correct place to request these enhancements as we simply pass the boot_command to Packer Plugin SDK for parsing.
I haven't figured out how to send an Option key command yet though, so I'm not sure how that would be implemented.
Sounds good, thanks for the extra info @edigaryev. I did try to do some changes to the packer-plugin-sdk locally in hopes of getting the Option key working, but didn't have much success. I'll see if my question on that repo gets any traction.
Description
I have a small quality of life improvement I'd love to see in this plugin: The ability to use correct references to macOS-specific modifier keys (Command and Option keys) in the
boot_command
.Specifically, what I'd like to have is:
<leftCmdOn>
and its left/right off/on variants to send the Command key.<leftOptOn>
and its left/right off/on variants to send the Option key.Right now,
<leftAlt>
an<rightAlt>
both map to left and right Command respectively, so I assume these could just be aliased somehow.I haven't figured out how to send an Option key command yet though, so I'm not sure how that would be implemented.
I'm willing to do this work myself if someone could first give me some guidance or ideas on where and how this modification might be made.
The text was updated successfully, but these errors were encountered: