Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
55 user(s) are online (37 user(s) are browsing Forums)

Members: 0
Guests: 55

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 (2)


Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Lio, TSK
ptitSeb made some changes in joystick's related code, so maybe all will be fine now. There was also some amigaos4 specific big-endian issues fixed, so plz test this out:

http://kas1e.mikendezign.com/aos4/gl4es/games/hcl/hcl_v3.lha


_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Not too shy to talk
Joined:
2006/12/3 23:51
From France
Posts: 419
@kas1e

YES indeed it works perfectly with button 1 for jump and button 2 for attack !

   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Lio
Good. Through probably it works for you as old joystick api interface from old times (hydra castle labyrinth have supported both apis: old one and new one), while ptitSeb will add to frickingshark support only new gamecontrollers api interface (have support old ones time consuming and harder)

Which mean, that probably for your joystick we will need an entry for sdl2 in gamecontrollers database, with which i hope Capehill can help us.

@Capehill
Is there anything we can run already, so we can send you necessary info to be added to gamecontroller's database ?

@TSK
Is new version works for you on competition pro ? (your joystick probably will be use gamecontrollers api, so if it works, then that will be good too)

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 713
@kas1e

http://capehill.kapsi.fi/sdl2/SDL_joystick_test.lha

controllermap tool can be used to generate mappings.

   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Capehill
Thanks

@Lio, TSK (and anyone else)
Can you use that to generate mapping so Capehill can add it to sdl2 gamecontroller database ?

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Not too shy to talk
Joined:
2006/12/3 23:51
From France
Posts: 419
@kas1e, Capehill : thanks both for support

I run the 2 testing tools and got this :

13.RAM Disk:SDL_joystick_test> testjoystick -h
INFO: There are 0 joysticks attached
INFO: Couldn't open joystick 0: There are 0 joysticks available
13.RAM Disk:SDL_joystick_test> testgamecontroller
INFO: Supported mappings:
INFO: 53504545442d4c494e4b20436f6d7065,SPEED-LINK Competition Pro,platform:AmigaOS 4,x:b2,a:b0,b:b1,y:b3,rightx:a0,righty:a1,
INFO:
INFO: There are 0 game controller(s) attached (0 joystick(s))

   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Capehill
Seems joystick binaries didnt works as expected ? Lio's joystick are not competition pro, and for sure works over amigainput

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 713
@kas1e

He has to make sure that joystick is really visible in AmigaInput prefs. My Comp Pro wasn't visible after power up, for whatever reason, in AI prefs. After replugging joystick, it appeared in the prefs and could be used.

If joystick is visible in AI prefs but SDL doesn't recognize it, then something must be wrong.

   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Capehill
I think i need to buy just one pad at least to be able to do fast tests. Hope to find out today something in local shop

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 3131
@capehill

Using the tool to test my PlayStation 2 pad (with USB adaptor) but i got this result:

3.RAM Disk:SDL_joystick_test> testjoystick -h
INFO: There are 0 joysticks attached
INFO: Couldn't open joystick 0: There are 0 joysticks available
3.RAM Disk:SDL_joystick_test> testgamecontroller
INFO: Supported mappings:
INFO: 53504545442d4c494e4b20436f6d7065,SPEED-LINK Competition Pro,platform:AmigaOS 4,x:b2,a:b0,b:b1,y:b3,rightx:a0,righty:a1,
INFO:
INFO: There are 0 game controller(s) attached (0 joystick(s))

This pad always worked on my system, just configured with AmigaInput and used now with FinalBurn

   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@samo
That mean that something wrong with testdoustick and testgamecontroller binaries for sure !

@Capehill
Seems indeed something with binaries ?

Btw, i got few hours ago in local shop 5 different pads which we can test and so add support to SDL2 (if, amigainput will see them all of course).

Those i got and will test now:

Ritmix gp-001
Defender Vortex
Aceline GG-1
DEXP G-3
Logitech F310 (that one probabaly same as you have)

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@samo,Lio,Capehill

I see now that testjoystick binaries compiled shared, so they use libsdl2.so , which mean that users have old one from os4depot, which of course will not works as there was lots of changes.

@Capehill
Probabaly to avoid any issues that joystick tests binaries need to be compiled statically, so everyone can run it and does not matter what libsdl2.so he have.




_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5319
@Capehill
Compiled static builds of all those joystick binaries, and they runs fine on me now.

Tested only the first one one (Ritmix gp-001), that one seen in the amigainput, as well as when i run tes joystick binaries i have that:

Quote:

6/0.RAM Disk:1> testjoystick
INFO: There are 1 joysticks attached
INFO: Joystick 0: usb gamepad
INFO: type: Game Controller
INFO: axes: 2
INFO: balls: 0
INFO: hats: 0
INFO: buttons: 10
INFO: instance id: 0
INFO: guid: 7573622067616d657061642020202020
INFO: VID/PID: 0x0000/0x0000

6/0.RAM Disk:1> testgamecontroller
INFO: Supported mappings:
INFO: 53504545442d4c494e4b20436f6d7065,SPEED-LINK Competition Pro,platform:AmigaOS 4,x:b2,a:b0,b:b1,y:b3,rightx:a0,righty:a1,
INFO: 00da0000000000000000000000000000,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,
INFO:
INFO: Joystick 0: usb gamepad (guid 7573622067616d657061642020202020, VID 0x0000, PID 0x0000)
INFO: There are 0 game controller(s) attached (1 joystick(s))

6/0.RAM Disk:1>


Sadly that it has no Vendor Name, even notify window of USB when i connect it say just:
Vendor: (empty)
Produce: usb gamepad
Class: 63B4D

Dunno how we can add it to database, if it has no vendor name ..

Is it possible to add to gamecontroller's database not with verndorname, but with vendor number for example ? Or name there only for information, and parsing for device to detect taken from the that "00da0000000000000000000000000000" string ?

ps. Probabaly we need to create juts another thread , where upload static binaries, so everyone can contribute their mappings + to have list of all pads/joysticks we test and which works or not.


Edited by kas1e on 2019/1/6 16:35:55
Edited by kas1e on 2019/1/6 16:44:56
_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: friking shark microfreezes
Home away from home
Joined:
2006/12/2 3:55
From Italy, Perugia
Posts: 3131
@kas1e

Quote:
ps. Probabaly we need to create juts another thread , where upload static binaries, so everyone can contribute their mappings + to have list of all pads/joysticks we test and which works or not.


Yep, please

   Report Go to top


« 1 (2)



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project