I wanted to see if I could manually bind the same hotkey function to two different keys - toggle fullscreen - by manually adding an additional line for the same function. I wanted to use both alt+enter & F11. When I opened the scummvm.ini, I only fine one key is mapped. The keybinds as defined in scummvm options work. But in the .ini file were are my other keybinds?
[keymapper]
keymap_global_MENU=F5
scummvm.ini Where Are My Keybinds>
Moderator: ScummVM Team
- Praetorian
- ScummVM Developer
- Posts: 862
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: scummvm.ini Where Are My Keybinds>
Only the keymaps that are manually edited will appear in the scummvm.ini.EstelRandir wrote: ↑Mon May 03, 2021 1:23 pm I wanted to see if I could manually bind the same hotkey function to two different keys - toggle fullscreen - by manually adding an additional line for the same function. I wanted to use both alt+enter & F11. When I opened the scummvm.ini, I only fine one key is mapped. The keybinds as defined in scummvm options work. But in the .ini file were are my other keybinds?
[keymapper]
keymap_global_MENU=F5
The default keymaps will not.
In 2.3.0git, changing the keymap for the toggle fullscreen functionality, by adding the F11 key, results in the following entry in scummvm.ini:
Code: Select all
[keymapper]
keymap_sdl-graphics_FULS=A+RETURN F11 A+KP_ENTER
-
- Posts: 55
- Joined: Thu Mar 16, 2017 6:02 pm
Re: scummvm.ini Where Are My Keybinds>
Thanks. I did not want to edit them in the UI for fear that it would override instead of add to the default keybind. That is why I wanted to manually add them to the .ini file. That is how it works in other emulators anyway.Praetorian wrote: ↑Mon May 03, 2021 7:16 pmOnly the keymaps that are manually edited will appear in the scummvm.ini.EstelRandir wrote: ↑Mon May 03, 2021 1:23 pm I wanted to see if I could manually bind the same hotkey function to two different keys - toggle fullscreen - by manually adding an additional line for the same function. I wanted to use both alt+enter & F11. When I opened the scummvm.ini, I only fine one key is mapped. The keybinds as defined in scummvm options work. But in the .ini file were are my other keybinds?
[keymapper]
keymap_global_MENU=F5
The default keymaps will not.
In 2.3.0git, changing the keymap for the toggle fullscreen functionality, by adding the F11 key, results in the following entry in scummvm.ini:
Code: Select all
[keymapper] keymap_sdl-graphics_FULS=A+RETURN F11 A+KP_ENTER
- Praetorian
- ScummVM Developer
- Posts: 862
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: scummvm.ini Where Are My Keybinds>
I understand.EstelRandir wrote: ↑Mon May 03, 2021 7:39 pmThanks. I did not want to edit them in the UI for fear that it would override instead of add to the default keybind. That is why I wanted to manually add them to the .ini file. That is how it works in other emulators anyway.Praetorian wrote: ↑Mon May 03, 2021 7:16 pmOnly the keymaps that are manually edited will appear in the scummvm.ini.EstelRandir wrote: ↑Mon May 03, 2021 1:23 pm I wanted to see if I could manually bind the same hotkey function to two different keys - toggle fullscreen - by manually adding an additional line for the same function. I wanted to use both alt+enter & F11. When I opened the scummvm.ini, I only fine one key is mapped. The keybinds as defined in scummvm options work. But in the .ini file were are my other keybinds?
[keymapper]
keymap_global_MENU=F5
The default keymaps will not.
In 2.3.0git, changing the keymap for the toggle fullscreen functionality, by adding the F11 key, results in the following entry in scummvm.ini:
Code: Select all
[keymapper] keymap_sdl-graphics_FULS=A+RETURN F11 A+KP_ENTER
However, the UI also gives you the option to return to the default keymapping for a function (just click to the small arrow icon next to the mappings for this function and select "Reset to defaults"). So, it's safe enough to experiment