[go: up one dir, main page]

  • Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • ZSNES
  • Patches

Linux joystick support fix

Status: Beta
Brought to you by: n-a-c-h, pagefault, z_demo_z
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Bugs
    • Feature Requests
    • Patches
  • News
  • Donate
  • Code
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#9 Linux joystick support fix

open
nobody
None
5
2003-08-11
2003-08-11
Anonymous
No

Hello ZSnes guys,

While trying to play with my joystick I was unable to use the
digital pad. My joystick has 2 analog axis and 1 digital one, a bit
like the Gamecube pads. Unfortunately the digital axis is
mapped to the axes 4/5 which aren't handled by Zsnes because
of a hard-coded limitation to 4 axes in the code.

The patch below (over 1.36) fixes this issue and allow any
number of axes for the joystick. It worked fine for me, but you
might want to check whether it can't introduce an overflow on
the pressed global array. I couldn't find its declaration
anywhere.

Hope this is useful - keep up the good work on ZSnes!
Alex.

Discussion

  • Nobody/Anonymous

    Nobody/Anonymous - 2003-08-11
     
    zsnes_joystick_fix.diff
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Privacy Choices Advertise
×