argonlefou / HotdRemake_ArcadePlugin

Arcade Plugin for "House Of The Dead : Remake" game on Windows
17 stars 0 forks source link

Config to change button inputs? #5

Open GaryFrazier opened 8 months ago

GaryFrazier commented 8 months ago

Could it be possible to add config for button inputs?

argonlefou commented 8 months ago

Are you talking about Start/Credits buttons ?

If so, it's usually enough to use a simple AHK script to remap the keyboard keys you want to add to the ones the game is waiting for.

What are you trying to achieve ?

agentzex commented 4 months ago

I'm looking for the same. What I'm trying to achieve is to set different inputs to interact with the game instead of using the keyboard. I'm using Quest 3 with VD , so my touch controllers are being emulated as a mouse. I want to use the analog middle button for example (that supposed to be equivalent to the middle mouse button ) to be the input instead of 1 in the keyboard to skip scenes or start.

Another thing I was missing are the rest of the buttons from the game, like how to change weapons ?

argonlefou commented 4 months ago

I'm looking for the same. What I'm trying to achieve is to set different inputs to interact with the game instead of using the keyboard. I'm using Quest 3 with VD , so my touch controllers are being emulated as a mouse. I want to use the analog middle button for example (that supposed to be equivalent to the middle mouse button ) to be the input instead of 1 in the keyboard to skip scenes or start.

Hi,

This arcade mod is mainly made for people owning lightguns/arcade cabinets, that's why the "usual" binding (with keyboard keys 1, 2 for start, 5 for credits, etc...) is used.

Adding a button config layer would be useless (and to be honest, a whole lot of unpleasant work) for these devices, as many solutions are available to remap lightguns buttons to keyboard

It would surely be a lot more helpfull for your needs, but handling VR devices in a VD environment ...well it's just something I don't know anything of.

My first answer would be the same as above : you may have to try to find a way to rebind your VR controller button to a keyboard stroke (using AHK)

I dont know how your device is acting under windows, but if you manage to get a "mouse middle click" event from your controller button....it's a one line Autohotkey script to create a keyboard stroke

Same thing if it's emulating joypad/joystick buttons events (it's also used a lot with modern lightguns)

Another thing I was missing are the rest of the buttons from the game, like how to change weapons ?

That mod is an attempt to be as close as possible to the original arcade game, where only one weapon was used through the whole game : weapon changing is not available with that mod, that's why you won't find any mention to those controls/keys

agentzex commented 4 months ago

You can think of the Quest controller (when used with VD) as a typical mouse basically, so I just need a way to map mouse buttons instead of keyboard inputs Never tried to work with AHK, I thought more like exposing an interface to just change those 3 input buttons on the keyboard that currently available (1,2,5 digits buttons) to different ones (for example using the mouse middle click button instead of '1' etc.) I have coding experience but not with game modding, so I have no idea how difficult it is...guess I'll try with AHK for now.

And regarding the weapon change - I didn't remember the original game didn't had this , makes sense now :) Thanks