• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other Question] Gamepad Functionality needs to be a thing and can it be done minus emulation

Amyrakunejo

Philosophical Pagan Femme Fair Gynesexual Gamer
  • 20
    Posts
    6
    Years
    • Seen Jul 24, 2020
    This really bugs me since ALL my RM game testing is done using a gamepad and PE has somehow disabled it or has made it to where one has to fiddle with the scripting in a way I don't know intricately enough to go for it myself.

    Also, yes I know I could use Joy2Key but since by DEFAULT all RM engines have gamepad support, emulating this by passing keyboard commands to the gamepad is backasswards.

    So, I'm surprised no one has brought it up, and yes, it is a must going forward.
    I've not found anything in the documentation about gamepads either unless I missed something there as well, something easily missed by those suffering from 2 AM Syndrome.

    Yes, I am asking if it can be done, and how, minus emulation because...yeah.
     
    You probably want to explore the PSystem_Controls part of the scripts. I think what you'd have to do is roughly this:
    1. Work out how to get gamepad inputs.
    2. Add checks for these inputs in self.count/self.release?/self.trigger?/self.repeat?, you'll have to map "buttons" onto gamepad inputs.
    3. Add checks for inputs in self.repeatex?/self.releaseex?/self.triggerex?/self.repeatcount/self.pressex?, you'll have to map keys into gamepad inputs.
     
    You probably want to explore the PSystem_Controls part of the scripts. I think what you'd have to do is roughly this:
    1. Work out how to get gamepad inputs.
    2. Add checks for these inputs in self.count/self.release?/self.trigger?/self.repeat?, you'll have to map "buttons" onto gamepad inputs.
    3. Add checks for inputs in self.repeatex?/self.releaseex?/self.triggerex?/self.repeatcount/self.pressex?, you'll have to map keys into gamepad inputs.

    Hmmm...
    Okay. Looks like I'd have to get someone to assist me on this; I'm not an expert at this and don't exactly know what I am doing. But I might figure it out solo, I don't know.
     
    Back
    Top