Poster | Thread |
realize
|  |
Problems with AmigaInput and USB joysticks Posted on 14-Aug-2012 21:03:48
| | [ #1 ] |
|
|
 |
Super Member  |
Joined: 14-Apr-2003 Posts: 1797
From: nyc | | |
|
| Hey guys
I tried a Logitech Dual Shock usb controller and it seems to have problems. Amiinput can see it I can click the fire button, and move the digital pad but doesnt work with games..?? (it shows up in amigainput and I can "calibrate" it ok but the games dont recognize it)
I tried to play Hurrican which I think uses Huno's proprietary driver wrapper and a yelllow box pops up saying :detecting wobble in usb: or some other weird message and it doesnt work at all.
I also purchased this: (for uae and mame so I can use ami joysticks)
http://www.amazon.com/gp/product/B007 ... 58170_25216300_email_r_im
Atari to USB retro adaptor
Amigainput and USB inspector see it but the 2 joysticks I tried dont work. Amigainput sees the device as an Atari usb joystick, calibration sees the fire button but the stick only works in one direction in calibration mode and doesnt work at all in games.
Its a shame because I cant play any os4 games with joypad/joystick. Any ideas?
|
|
Status: Offline |
|
|
Androxyn
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 14-Aug-2012 21:20:04
| | [ #2 ] |
|
|
 |
Regular Member  |
Joined: 7-Mar-2003 Posts: 212
From: Oslo | | |
|
| @realize
Having similiar problems. Competition Pro USB joystick was recognized by 1941 Deluxe trial after a reboot and works fine there, but it will not work on Crossfire II.
Edit: nevermind, further testing shows my joystick works with everything except Crossfire II, so I guess I don't have a similiar problem after all Last edited by Androxyn on 14-Aug-2012 at 10:03 PM.
|
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 0:00:35
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12987
From: Norway | | |
|
| |
Status: Offline |
|
|
realize
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 0:02:05
| | [ #4 ] |
|
|
 |
Super Member  |
Joined: 14-Apr-2003 Posts: 1797
From: nyc | | |
|
| @NutsAboutAmiga
What does your tool do? Why is usb so problematic? I've had hard crashes just plugging in the logitech joypad. :( |
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 0:12:20
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12987
From: Norway | | |
|
| @realize
What does your tool do?
My tool is a translation tool, basicly what it does is take joystick or joypad input from AmigaInput, and translate this actions into mouse or keybord events.
This enables any games that does not support AmigaInput to use AmigaInput even if it did not support it, or maybe you did not like default configuration and like some flexibility, its not limited to programs it works globally whit in AmigaOS, so even programs can be controlled this way, so you can use your wireless joystick or gamepad to control AmigaAMP or TuneNet.
Only limitation is that only support one joystick. Last edited by NutsAboutAmiga on 15-Aug-2012 at 12:33 AM. Last edited by NutsAboutAmiga on 15-Aug-2012 at 12:14 AM. Last edited by NutsAboutAmiga on 15-Aug-2012 at 12:13 AM.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
|
Status: Offline |
|
|
realize
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 0:15:11
| | [ #6 ] |
|
|
 |
Super Member  |
Joined: 14-Apr-2003 Posts: 1797
From: nyc | | |
|
| @NutsAboutAmiga
Wow sounds awesome I'd love to use a joystick with MAME. Is there good docs for config?
What i'm afraid of is os4 usb drivers are the problem as it makes no sense why the joypad is recognized in the calibration but not at all in a game??
Did you look at the link I posted? If we could get that device working its a cheap way to use amiga joysticks on os4. |
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 0:27:42
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12987
From: Norway | | |
|
| @realize
Why is usb so problematic? I've had hard crashes just plugging in the logitech joypad. :(
AmigaInput reports some soundblaster game ports, and other game ports, as a programer you are suppose to check if gamepad or joystick is plugged in before you start probing the gamepad or joystick, you can do that check whit one extra line of code, if you do probe the game port while joystick is not plugged, AmigaInput crashes.
Way it crashes probely becose AmigaInput uses hooks to probe the devices, hooks are small routines that is provided by a application or game, this hooks sent as reference into an API like AmigaInout or SanaII device api, some times this hooks do not confirm to safety regulations.
You can get away whit it because you can disable soundblaster gamports in Amiga Input prefs, and avoid the problem. Last edited by NutsAboutAmiga on 15-Aug-2012 at 12:29 AM.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 0:32:25
| | [ #8 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12987
From: Norway | | |
|
| |
Status: Offline |
|
|
realize
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 1:58:35
| | [ #9 ] |
|
|
 |
Super Member  |
Joined: 14-Apr-2003 Posts: 1797
From: nyc | | |
|
| @NutsAboutAmiga
From my understanding of your tool the device you want to use must be properly read by Amiga input before your tool can retarget it right? if so it wont help me because of the aformentioned problems i'm having..I do appreciate your help and verbose responses though. |
|
Status: Offline |
|
|
joeled
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 5:45:37
| | [ #10 ] |
|
|
 |
Cult Member  |
Joined: 25-Dec-2007 Posts: 724
From: Uppsala, Sweden | | |
|
| |
Status: Offline |
|
|
realize
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 8:42:18
| | [ #11 ] |
|
|
 |
Super Member  |
Joined: 14-Apr-2003 Posts: 1797
From: nyc | | |
|
| @joeled
Thanks damn 40 euro is a lot for an american plus shipping! Man I wish someone would write the drivers for the Catweasel board so o4 can use the joystick ports. However, if this device support os4 usb I may have to go for it..
@ nutsaboutamiga
I'll try your program out sounds cool. |
|
Status: Offline |
|
|
fingus
 |  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 9:16:57
| | [ #12 ] |
|
|
 |
Cult Member  |
Joined: 20-Oct-2006 Posts: 747
From: Havixbeck / Germany | | |
|
| @realize
Its mandatory to Calibrate the USB-Joystick and then assign it to a logical Lowlevel Joystick-Port. Otherwise it will not work on E-UAE or other games who require Lowlevel-Joystick input!
 _________________ I´m back in 2023 on Classic Amiga with my A1200/Blizzard1230IB@50Mhz, 32MB RAM, AmigaOS3.2 and ROMs, Indivision AGA MK3, Author of Amiga-Flipclock (OS4) |
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 10:03:46
| | [ #13 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12987
From: Norway | | |
|
| @realize
Quote:
Man I wish someone would write the drivers for the Catweasel board so o4 can use the joystick ports. |
Did not Ian Implement that already, I have not followed progress that closely on CW drivers, after he started working on it, anyway Ian has more interest working on it then me, my motivation was only to rescue my disks that was it.
It might have been possible to connect Catweasl driver to AmigaInputAnywhere, but not to connect it too AmigaInput, the problem is that AmigaInput badly documented when it comes to the driver side.
And again whit out a NDA its not possible for me to read the source code to see how its done. The documentation needs to be improved or I need a NDA.
Last edited by NutsAboutAmiga on 15-Aug-2012 at 10:41 PM. Last edited by NutsAboutAmiga on 15-Aug-2012 at 11:04 AM. Last edited by NutsAboutAmiga on 15-Aug-2012 at 10:04 AM.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
|
Status: Offline |
|
|
Androxyn
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 10:10:03
| | [ #14 ] |
|
|
 |
Regular Member  |
Joined: 7-Mar-2003 Posts: 212
From: Oslo | | |
|
| @fingus
I don't understood this Port thing. How do I know which port number my joystick is connected to? Or do I just pick any port number?
With Crossfire II are instructions telling me to set up the joystick in lowlevel library, but I can't get it to work.
I select Joystick from Port 0 menu, click unit 0, select assign, set Red, Green, Blue and Yellow to Button 1, 2, 3 and 4, and set axis like on your picture, and save. But the game does not recognize it and the ingame ship is uncontrollable.
@NutsAboutAmiga Thx, I will check out your app when I get back from work Last edited by Androxyn on 15-Aug-2012 at 10:11 AM.
|
|
Status: Offline |
|
|
joeled
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 10:13:44
| | [ #15 ] |
|
|
 |
Cult Member  |
Joined: 25-Dec-2007 Posts: 724
From: Uppsala, Sweden | | |
|
| @realize
Quote:
Thanks damn 40 euro is a lot for an american plus shipping! Man I wish someone would write the drivers for the Catweasel board so o4 can use the joystick ports. However, if this device support os4 usb I may have to go for it.. |
Yes i know but the good thing is that its working in E-uae  Last edited by joeled on 15-Aug-2012 at 10:14 AM. Last edited by joeled on 15-Aug-2012 at 10:14 AM.
_________________ AmigaOS on Google+ AmigaOS on Facebook |
|
Status: Offline |
|
|
fingus
 |  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 10:59:34
| | [ #16 ] |
|
|
 |
Cult Member  |
Joined: 20-Oct-2006 Posts: 747
From: Havixbeck / Germany | | |
|
| @Androxyn
Quote:
I don't understood this Port thing. How do I know which port number my joystick is connected to? Or do I just pick any port number?
|
It´s no miracle. On new Amigas you can plug in as much Joysticks you want and as much USB-Ports you have. This Lowlevel-Thing fills the gap between new and old Amigas. You can select by yourself which USB-Joystick is assigned to virtual Classic-Amiga-Portnumber.
Virtual Port to Emulate - Descrition: 0 - Mouse / Joystick 1 1 - Joystick 2
2 . Joystick 3 (for Games that support the 4-Player Adapter on Classic Amigas) 3 . Joystick 4 (for Games that support the 4-Player Adapter on Classic Amigas)
..etc
Quote:
I select Joystick from Port 0 menu, click unit 0, select assign, set Red, Green, Blue and Yellow to Button 1, 2, 3 and 4, and set axis like on your picture, and save. But the game does not recognize it and the ingame ship is uncontrollable |
Maybe it require a Joystick at Lowlevel Port1, keep in mind that on Classic Amigas Port 0 is for Mouse.
Last edited by fingus on 15-Aug-2012 at 11:03 AM. Last edited by fingus on 15-Aug-2012 at 11:02 AM. Last edited by fingus on 15-Aug-2012 at 11:00 AM.
_________________ I´m back in 2023 on Classic Amiga with my A1200/Blizzard1230IB@50Mhz, 32MB RAM, AmigaOS3.2 and ROMs, Indivision AGA MK3, Author of Amiga-Flipclock (OS4) |
|
Status: Offline |
|
|
fingus
 |  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 11:04:08
| | [ #17 ] |
|
|
 |
Cult Member  |
Joined: 20-Oct-2006 Posts: 747
From: Havixbeck / Germany | | |
|
| @joeled
Standalone USB-Joysticks also work with E-UAE when configured right with AmigaInput before!
For example i´m using the "goldmember" (Competition PRO USB Gold-Edition) now with my Amiga.
Last edited by fingus on 15-Aug-2012 at 11:05 AM.
_________________ I´m back in 2023 on Classic Amiga with my A1200/Blizzard1230IB@50Mhz, 32MB RAM, AmigaOS3.2 and ROMs, Indivision AGA MK3, Author of Amiga-Flipclock (OS4) |
|
Status: Offline |
|
|
Androxyn
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 21:31:21
| | [ #18 ] |
|
|
 |
Regular Member  |
Joined: 7-Mar-2003 Posts: 212
From: Oslo | | |
|
| @fingus
Quote:
Maybe it require a Joystick at Lowlevel Port1, keep in mind that on Classic Amigas Port 0 is for Mouse.
|
Yes, changing to Port 1 fixed it. Crossfire II throws all sorts of DSI errors on me, but ignoring them seems to work.
But what when I want to use a joypad? I have configured one for Port 2, but still Zelda - Mystery of Solarus Dx only detects the Joystick in Port 1. I hope I don't have to go into AmigaInput and change the assigns manually for every time I want to change between joystick and joypad?
I tried assigning the Joypad to Port 1 too, but then I got a message that another unit was already assigned, and if I wanted to go ahead. I said NO, and then AmigaInput crashed -.-
Is there a way to shut down a crashed/frozen program without restarting, btw? When clicking on AmigaInput now, all I get is that clock...
ABOUT that tool: I'm not sure if it is the crashed AmigaInput that is messing with my system, but it seems the archive amigainputanyware.lha from OS4 Depot contain 3 of every file??? Other than that, it worked great and now allows me to play Solarus with a pad, woohoo :)Last edited by Androxyn on 15-Aug-2012 at 09:53 PM. Last edited by Androxyn on 15-Aug-2012 at 09:41 PM.
|
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 15-Aug-2012 22:48:31
| | [ #19 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12987
From: Norway | | |
|
| |
Status: Offline |
|
|
lionstorm
|  |
Re: Problems with AmigaInput and USB joysticks Posted on 16-Aug-2012 21:26:09
| | [ #20 ] |
|
|
 |
Super Member  |
Joined: 31-Jul-2003 Posts: 1591
From: the french side | | |
|
| @realize
your wish has been fulfilled in the new AOS4.1 update
Quote:
realize wrote: @joeled
Thanks damn 40 euro is a lot for an american plus shipping! Man I wish someone would write the drivers for the Catweasel board so o4 can use the joystick ports. However, if this device support os4 usb I may have to go for it..
@ nutsaboutamiga
I'll try your program out sounds cool. | |
|
Status: Offline |
|
|