Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

USB game controllers

Last updated on 3 years ago
DizzyOfCRNDizzyOfCRNJunior Member
Posted 3 years ago
Does the "settings" window open?
DizzyOfCRNDizzyOfCRNJunior Member
Posted 3 years ago
I've enabled some rumble effects on the code. The intensity should vary according to the left thumb stick.

https://www.dropbox.com/s/rl119qmc5ui...class?dl=1

Works for Logitech F710 at least, not sure if the class even shows any output on other XInput gamepads...

https://youtu.be/NilG2XIYygM
nikosnikosMember
Posted 3 years ago
Yes, it open :)

https://m.youtube..._IA9sI5mek

Maybe needs calibration?

edit: with the rumble update my controller rumble all the time like crazy. Little less if I move the left stick upwards. Calibration :)
Edited by nikos on 28-09-2018 10:57, 3 years ago
DizzyOfCRNDizzyOfCRNJunior Member
Posted 3 years ago
So the rumble even works? :)

My Logitech outputs somewhere 0 at the center so it doesn't shake very much at that position, but the original controller has a different zero position (well, it actually looks the same when your thumb sticks are centered...). It was just a test to see if the rumble works other than my controller. Thank you very much!
DizzyOfCRNDizzyOfCRNJunior Member
Posted 3 years ago
My Wireless F710 has worse thumb sticks than on it's counterpart the F310.
F710 doesn't always return the value to center, but the F310 does.

It brutally shows how bad the sticks have gone.

Some kind of calibration would be nice, I will look into that too. At least it could be good to find the dead band around the center. Maybe some routine that asks to push fully on one direction and then let go. Timer would start from zero every time a new message arrives and lets say if 100mS has elapsed from the last message then the code would look where the stick has last left it markings and do that many times and we should be able to find the dead band.
nikosnikosMember
Posted 3 years ago
Thank sounds perfect Dizzy :)
Thanks for doing this.
DizzyOfCRNDizzyOfCRNJunior Member
Posted 3 years ago
I think I found how to get the bitmask for all the inputs on XInput gamepads and that there even is such a bitmask...
Haven't seen that mentioned in anywhere :)

I didn't put any buttons on that settings window that tests the inputs as I didn't know how many buttons each controller has

I think we even now know if the controller is wired or wireless! Important, as we need to inform the controller api about it.
Edited by DizzyOfCRN on 29-09-2018 12:28, 3 years ago
nikosnikosMember
Posted 3 years ago
BlueTooth is not supported in AROS. I know some XBox controllers use that protocol, but others might use IR or maybe WiFi?

Guess to be safe, cable is the way to go. I guess wireless XBox controller also can be connected with USB cable?
DizzyOfCRNDizzyOfCRNJunior Member
Posted 3 years ago
My wireless and wired controllers both work at this moment.

There is a 2.4GHz dongle for xbox controller pc use. It's luckily not bluetooth so it might even work.

Not sure if the bit showing controller as wireless is always at the same location, needs testing.

Do you have wireless controller?

I will be putting out new test for the arosx, showing if the wireless check works and getting some more needed info for the xinput descriptor parser.
nikosnikosMember
Posted 3 years ago
No Wireless XBox controllers at the moment. I have one arcade stick wireless that works fine, but that is hid controller.
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You can upload attachments in this forum.
You can download attachments in this forum.
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 5
Members Online 0

Total Members: 156
Newest Member: AMIGASYSTEM
Shoutbox
You must login to post a message.
cavemann
cavemann11 months ago#14
Hello 2021 !!!
amigamia
amigamia11 months ago#13
Happy New Year everyone! Cool
M
magorium11 months ago#12
Happy New Year
amigamia
amigamia1 year ago#11
Welcome spictera
S
spictera1 year ago#10
hi
I have installed Icaros latest stable version on a virtualbox hosted on windows
I do want to install this on a physical workstation, but want to play around first to see how it works