Can I used mxyconverter with joysticks?

GPC2 script programming for Titan Two. Code examples, questions, requests.

Can I used mxyconverter with joysticks?

Postby kooldudeyah » Fri Dec 27, 2019 12:31 am

I would like to be able to use my Steam Controller with Titan Two. It works well, but the right trackpad acts as a joystick. That means that pressing the top of the trackpad is equivalent to pressing up on a joystick.
I would like to use mxyconverter to convert finger movement on the trackpad to joystick movement, as I believe that is the most viable solution to my problem. I tried using mouse_set to set the mouse position to the position on the trackpad, and then converting it. I tried this method using the input translator as well as through GPC code, but neither seem to have any effect on the output. Is there any way I can use mxyconverter on this joystick? If not, is it possible that this could be implemented in the future?
User avatar
kooldudeyah
Private First Class
Private First Class
 
Posts: 2
Joined: Fri Dec 27, 2019 12:20 am

Re: Can I used mxyconverter with joysticks?

Postby J2Kbr » Fri Dec 27, 2019 8:44 am

kooldudeyah wrote:I tried using mouse_set to set the mouse position to the position on the trackpad, and then converting it.

mouse_set() in this case will not work, as the input translator is evaluated at the device driver, before the GPC script processing.

If I remember correctly, the Steam controller has a mouse interface which we could be using for the purpose you described. I am currently in a trip, will be checking and confirming that one get back to office.

Thanks.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Can I used mxyconverter with joysticks?

Postby kooldudeyah » Wed Feb 05, 2020 3:47 pm

Any new updates on this?
User avatar
kooldudeyah
Private First Class
Private First Class
 
Posts: 2
Joined: Fri Dec 27, 2019 12:20 am

Re: Can I used mxyconverter with joysticks?

Postby J2Kbr » Wed Feb 12, 2020 7:08 pm

Got back, but didn't have time to check this yet, sorry.
I am busy working on this implementation: viewtopic.php?f=2&t=14717
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 81 guests