Thank you.
I'm using 8.0.1 which seems to be the newest one (MV). I noticed there is a 9.1.0, but for MZ only.
Nevertheless, I checked both versions and I can't find any option named GamepadMapper or KeyMapper. Can you provide more help please?
Thank you.
Ah, nice to know!
I searched in the plugin itself, haha.
i found out a plugin i was already using had LT and RT as options
Other common event call plug-ins may work as well.
Those keys are intentionally immutable. The reason is as follows.
Thank you for your reply..
The problem is that the button notations do not match, but this is difficult to solve and I have given up on dealing with it.
(function() {
const pluginName = 'Trigger Common Event';
const params = PluginManager.parameters(pluginName);
const eventMappings = JSON.parse(params.EventMappings).map(entry => JSON.parse(entry));
const isCombatScene = () => SceneManager._scene instanceof Scene_Battle;
document.addEventListener("keydown", function(event) {
if (isCombatScene()) {
const triggerKey = event.key.toLocaleLowerCase();
console.log("Pressed Key:", triggerKey);
let mappedEvent;
for (let i = 0; i < eventMappings.length; i++) {
let mappedKey = eventMappings[i].key.toLowerCase();
if (mappedKey === triggerKey) {
mappedEvent = eventMappings[i];
break;
}
}
if (mappedEvent) {
$gameTemp.reserveCommonEvent(Number(mappedEvent.commonEventId));
}
}
});
})();
Original thread: https://forums.rpgmakerweb.com/threads/mano_inputconfig-gamepad-keyboard-config-wasd-move-buttoncommonevent.125833/