Hey all. Is it possible at all to map the movement to the analog sticks on an Xbox controller? Aiming with the controller requires fine movement from both analogs, and currently it seems that none are supported, sending joystick users back to the SNES control scheme. If not, would it be possible to add this feature on an upcoming revision or release?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Support for XBox joysticks was added some time ago. This was done by a user submitting the patch needed to support such.
As I do not have XBox controllers, I have never been able to test this myself.
However the code added to support XBox should support using the XBox controllers just like any other joystick. You would have to use the joystick for movement.
I do not know the SNES control scheme as I only use Linux, am not a game system user.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, like I've said, the Xbox joystick works, but the analog sticks on the controller don't appear to do anything. This forces the player to use the D-pad to move, which is far from ideal. I've looked around, but there's just one generic option for "deadzone", which doesn't make any sense (it's set at 800 by default, but controllers usually go from 0 to 1, with 0.2 or 0.3 being ideal defaults), and it doesn't even specify what this deadzone refers to. Documentation also cites there being support for hats and triggers, but my triggers (which are also analog, have been since 1999 on the Dreamcast) also don't appear to work. Nothing happens when I try to map those buttons in the Options menus.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We only have analog (joystick) and buttons. The hats are mapped as 4 buttons.
The person who submitted the code for the XBox controller would be the best person to investigate Xbox controller problems. [feature-requests:#93] Addition of console-like features
If this is a Dreamcast controller problem, then must refer to:
Feature request #83 Sega Dreamcast port
The deadzone sets how much movement is required to be sensed as activation of the joystick.
This provides a deadzone around the joystick zero position, which stops the player from creeping when the joystick is idle. This is a standard joystick deadzone which every joystick driver provides. It applies to all joysticks.
The deadzone is set to an integer value, this setting cannot use fractional numbers, thus the 800.
Controller position is also integer, not 0 to 1.
This is something that can only be diagnosed by someone with the controller hardware.
If this controller hardware is incompatible with joysticks and buttons, then it is not supported.
There is nothing I can do to add support as I do not have the hardware.
Hey all. Is it possible at all to map the movement to the analog sticks on an Xbox controller? Aiming with the controller requires fine movement from both analogs, and currently it seems that none are supported, sending joystick users back to the SNES control scheme. If not, would it be possible to add this feature on an upcoming revision or release?
Support for XBox joysticks was added some time ago. This was done by a user submitting the patch needed to support such.
As I do not have XBox controllers, I have never been able to test this myself.
However the code added to support XBox should support using the XBox controllers just like any other joystick. You would have to use the joystick for movement.
I do not know the SNES control scheme as I only use Linux, am not a game system user.
So, like I've said, the Xbox joystick works, but the analog sticks on the controller don't appear to do anything. This forces the player to use the D-pad to move, which is far from ideal. I've looked around, but there's just one generic option for "deadzone", which doesn't make any sense (it's set at 800 by default, but controllers usually go from 0 to 1, with 0.2 or 0.3 being ideal defaults), and it doesn't even specify what this deadzone refers to. Documentation also cites there being support for hats and triggers, but my triggers (which are also analog, have been since 1999 on the Dreamcast) also don't appear to work. Nothing happens when I try to map those buttons in the Options menus.
We only have analog (joystick) and buttons. The hats are mapped as 4 buttons.
The person who submitted the code for the XBox controller would be the best person to investigate Xbox controller problems.
[feature-requests:#93] Addition of console-like features
If this is a Dreamcast controller problem, then must refer to:
Feature request #83 Sega Dreamcast port
The deadzone sets how much movement is required to be sensed as activation of the joystick.
This provides a deadzone around the joystick zero position, which stops the player from creeping when the joystick is idle. This is a standard joystick deadzone which every joystick driver provides. It applies to all joysticks.
The deadzone is set to an integer value, this setting cannot use fractional numbers, thus the 800.
Controller position is also integer, not 0 to 1.
This is something that can only be diagnosed by someone with the controller hardware.
If this controller hardware is incompatible with joysticks and buttons, then it is not supported.
There is nothing I can do to add support as I do not have the hardware.
Related
Feature Requests: #93