Jump to content

Photo

Expanded Gamepad Support


  • Please log in to reply
5 replies to this topic

#1 Soga

Soga

    Secretly Alive

  • Members

Posted 30 April 2020 - 08:20 AM

If there's one beef I have with Zelda Classic, it'd be the fact that I play with a Xbox controller and can't map EX buttons to the shoulder triggers or the D-pad. So I end up only being able to reasonably map EX1 to one of the face buttons (I use the Y button for toggling the map view and select for ZC menu). It would be great if ZC could be updated to support mapping buttons to triggers and the D-pad, so I don't have to use the keyboard for the other EX buttons.



#2 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 30 April 2020 - 08:38 AM

Have you tried using AntiMicro? It's included with ZC downloads, for gamepad support.



#3 Soga

Soga

    Secretly Alive

  • Members

Posted 30 April 2020 - 12:41 PM

Oh, I was not aware of that. I guess that would work, although it would still be nice if ZC had better native gamepad support. I guess, consider this feature request downgraded from "come on, man" to "eh, it'd be nice to have someday."



#4 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 30 April 2020 - 01:14 PM

Our native gamepad stuff, like most of our native stuff, including midi, bitmaps (like the screen), color, and much more is all entirely based on 'Allegro'. ZC uses Allegro 4, which by today's standards is fairly out of date; but to simply upgrade will break things. Upgrading will be a complicated thing.

We will be using Allegro 5 (Plus a wrapper for compatibility called Allegro Legacy) for ZC 3.0. And no, that's not a random number; upgrading allegro calls for a major version number increase, so it can be more accurately be stated that whenever we upgrade allegro, that version WILL be 3.0.

Aside from that, we don't really have a good way to handle native gamepad support; this stuff is EXTREMELY difficult to fix / upgrade.


  • Mani Kanina and Soga like this

#5 vaualbus

vaualbus

    Junior

  • Members
  • Real Name:Alberto
  • Location:Turin, Italy

Posted 01 May 2020 - 06:18 AM

At the point if the switch is a big thing that require a version change, shall we just remove allegro at all from ZC? 

Anyways with gamepad sometime even multi million dollar AAA games have problems so it is not a n easy task to implement. On should use in windows raw input to support X360 and PS4 controller but it very related to the hardware of the controller. (Basically you will read the data coming from the controller you need to know data format)


Edited by vaualbus, 01 May 2020 - 06:20 AM.


#6 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 01 May 2020 - 07:41 AM

>Remove allegro from ZC

THAT... THAT would be MUUUUUUUUUUUUUUUUUUUUUUUUUCH harder. Like THOUSANDS of times harder.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users