dMZX Forums: Use SDL_GameController to automatically map joypads -> Archived Requests -> Tracker

Jump to content

Report ID 735 Title Use SDL_GameController to automatically map joypads
Product Archived Requests Status Implemented (Severity 1 - Low)
Version 2.92 Fixed in 2.92

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #735: Use SDL_GameController to automatically map joypads

#1 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 03 December 2018 - 05:28 AM

(Sort of) split from here.

MegaZeux might benefit from default joypad configuration distributed with non-console platforms. Since the only consistent standard for computer joypad button numbering seems to be xinput, the default mapping should probably be based on it. This should use the generic actions specified in this feature request rather than raw keycodes if it's actually added.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 3)

#2 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 25 February 2019 - 06:17 AM

Updating status to: Approved
Updating severity to: 1 - Low
Updating version to: 2.92

Turns out this is pretty easy to do automatically with the SDL_GameController API, as its mapping files translate fairly well to MZX's joystick actions. Initial support for this added in GIT 1b191326 in the branch joy-action, though more work is required (pull request for this issue and joystick actions in general).
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#3 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 20 March 2019 - 09:52 AM

Updating status to: Implemented
Issue fixed in: 2.92

Implemented in GIT b2ef1987. See config.txt for more info.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#4 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,961
  • Joined: 12-October 00
  • Gender:Male

Posted 23 July 2019 - 12:30 AM

Moving to: Archived Requests


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2024  IPS, Inc.