Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
45 user(s) are online (37 user(s) are browsing Forums)

Members: 0
Guests: 45

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Quite a regular
Quite a regular


See User information
@kas1e

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

Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Just can't stay away
Just can't stay away


See User information
@kas1e

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

controllermap tool can be used to generate mappings.

Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Quite a regular
Quite a regular


See User information
@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))

Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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

Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: friking shark microfreezes
Home away from home
Home away from home


See User information
@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

Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project