Project

General

Profile

Actions

Emulator Issues #6597

closed

[Feature Request]Allow Axis X+/-, Y+/- as options for Xlib input

Added by shonumi about 11 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

IIRC, the XInput API allows users to set controls using Axis X+/- and Axis Y+/-. Essentially, the mouse receives input based on relative movements rather than absolute positions (a la Cursor X+/- and Cursor Y+/-) I was wondering if it would be possible to do the same on Linux when using Xlib to get input. If not, would it be possible to add an option to use SDL for this instead? (I know it can handle these types of mouse motions).

This isn't especially important, but I would like to see this small feature parity (between Windows and Linux) cleared up. Plus, I want to play Time Splitters 2 with a mouse.

Actions #1

Updated by Billiard26 about 11 years ago

  • Status changed from New to Invalid

Uh, this is already implemented?
Right click button in pad config, select Axis X+, profit?

Actions #2

Updated by magcius about 11 years ago

Yes, maxtothemax implemented this in the XI2 input backend.

Actions #3

Updated by shonumi about 11 years ago

Uh, have you guys tried it yourselves? Axis X+/- and Axis Y+/- don't show up at all. And yes, I did right click and browsed through all of the available options. Typing them in manually leads Dolphin to say "Device not found" when clicking Apply. I have XInput2 extensions installed, and even updating that still gives me the same error on the currest master branch revisions

Actions #5

Updated by shonumi about 11 years ago

Any ideas why it won't show up then? What version of XI are you using delroth?

Actions #6

Updated by delroth about 11 years ago

xinput --version
xinput version 1.6.0
XI version on server: 2.3

Actions #7

Updated by shonumi about 11 years ago

Using 1.7.2 (formerly used 1.6.0). Still getting nothing.

Actions #8

Updated by Billiard26 about 11 years ago

Which version of Dolphin?

LEARN TO SUBMIT AN ISSUE PROPERLY!
There is a template for a reason!

Actions #9

Updated by shonumi about 11 years ago

Yo, chill. This was a feature request, but now it's turning into an issue report. Fwiw, I have submitted issue reports properly in the past (using the template too).

This happens on http://code.google.com/p/dolphin-emu/source/detail?r=c1ddeacc9d090ac2c535a6044ac541a8087cfe8b

And has happened ever since this initial commit where XInput2 was added:
http://code.google.com/p/dolphin-emu/source/detail?r=9fbc5ff27cef0acac37a5a5a1a2c0d060ec226e1

XInput2 doesn't show up as an option under Devices. Xlib continues to show up like in all revisions prior to 9fbc5ff27cef0acac37a5a5a1a2c0d060ec226e1.

Actions

Also available in: Atom PDF