joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.67k stars 378 forks source link

Mapper Editor - Can I map an event that is a multiple key event such as Ctrl-F11 #5137

Open mlbuck opened 1 month ago

mlbuck commented 1 month ago

Question

I don't know if this is a limitation of the mapper editor, or if I am missing something. I have a need to map a separate key sequence to an event that requires multiple keys such as Ctrl-F11. To select an event, the mapper has you click on the virtual keyboard to select the event. If I hold down the CTRL key while I click on F11 for the event, it ignores the CTRL key and just provides the event as key_f11. Is there a way to map to an event such as "ctrl+key_f11"? I am missing something?

Have you checked that no similar question(s) exist?

Code of Conduct & Contributing Guidelines

maron2000 commented 1 month ago

For example if you want to map CTRL-F11 to CPU: normal core.

  1. Select CPU: normal core
  2. Press Add
  3. Press F11 key without CTRL
  4. Select CPU: normal core again
  5. Select Mod 1 under the Add key
  6. Save mapper file

image image

mlbuck commented 1 month ago

Maron2000, your response is the opposite of what I am asking. Your example shows an event that is CPU Normal Core with the keystrokes being Ctrl-F11. What I am asking for is a way to map, for example the F12 keystroke to a Ctrl-F11 event. In other words, I want to be able to hit the F12 key, and have the application receive a Ctrl-F11.

maron2000 commented 1 month ago

No, that is not possible.

mlbuck commented 1 month ago

Feature request?