We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1292 - config line for adding/removing joystick support in ios
Summary: config line for adding/removing joystick support in ios
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 2.0
Hardware: iPhone/iPod touch iOS (All)
: P2 trivial
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 22:47 UTC by Vittorio Giovara
Modified: 2011-10-13 21:21 UTC (History)
1 user (show)

See Also:


Attachments
patch (487 bytes, patch)
2011-08-27 22:47 UTC, Vittorio Giovara
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vittorio Giovara 2011-08-27 22:47:50 UTC
Created attachment 689 [details]
patch

Hi, i'm attaching a very simple patch that adds two lines on SDL_config_iphoneos.h so that it is possible to enable or disable joystick support at compile time.
Comment 1 Ryan C. Gordon 2011-10-13 13:52:50 UTC
Is there ever joystick support on iOS?

--ryan.
Comment 2 Vittorio Giovara 2011-10-13 13:56:56 UTC
Yen, it is the backend for handling accelerometer input, afaik.
There can be games that don't need that feature and just use touch control.
Comment 3 Ryan C. Gordon 2011-10-13 21:21:34 UTC
This patch is now hg changeset fdb8cc53adaa, thanks!

--ryan.