Padman Xpadman and Remote control
Posted: Fri Sep 10, 2004 10:51 pm
Hi!
I have just started testing out libpad in ps2sdk, my goal is to use the remote control (yet another multimedia-player initiative, getting back to that later).
I have managed to get the rom0:/padman.irx to work. It works for both the Dual Shock and parts of the remote control (typically the buttons that match the dual shock). However it does not handle the extra buttons, and dumping the pad_state does not seem to indicat that anything else is present.
I then tried to use xpadman, but I have been unsuccessful in getting it to work. It loads ok and it seems to init ok (padInit, padMaxPorts() and padMaxSlots() returns ok) padGetModVersion returns 774 (if I remember correcly), but padGetState returns ERROR. So what am I doing wrong?!
My test is based on pad.c (Pukko's pad test). I have a PAL 30004R if that matters. I will add the output from loading the XPADMAN when I get home, but it identifies itself as "Pad Driver for OSD (2000/12/05 18:05) 392, 128"
Can somebody help me out here?!
Also can somebody explain the difference between PADMAN and XPADMAN?! Will XPADMAN support the remote control or is there some othere IRX I need to use?!
I mentioned earlier that I am writing a media-player. It seems that that is the thing to do at the moment!!! What if we pull together?! Have a look at http://ps2mc.sf.net. I am currently porting the GUILIB part of XBMC (which will allow skinning). I have not done anything to get a divx player running (I have scanned the ffmpeg code, but not much more).
I have just started testing out libpad in ps2sdk, my goal is to use the remote control (yet another multimedia-player initiative, getting back to that later).
I have managed to get the rom0:/padman.irx to work. It works for both the Dual Shock and parts of the remote control (typically the buttons that match the dual shock). However it does not handle the extra buttons, and dumping the pad_state does not seem to indicat that anything else is present.
I then tried to use xpadman, but I have been unsuccessful in getting it to work. It loads ok and it seems to init ok (padInit, padMaxPorts() and padMaxSlots() returns ok) padGetModVersion returns 774 (if I remember correcly), but padGetState returns ERROR. So what am I doing wrong?!
My test is based on pad.c (Pukko's pad test). I have a PAL 30004R if that matters. I will add the output from loading the XPADMAN when I get home, but it identifies itself as "Pad Driver for OSD (2000/12/05 18:05) 392, 128"
Can somebody help me out here?!
Also can somebody explain the difference between PADMAN and XPADMAN?! Will XPADMAN support the remote control or is there some othere IRX I need to use?!
I mentioned earlier that I am writing a media-player. It seems that that is the thing to do at the moment!!! What if we pull together?! Have a look at http://ps2mc.sf.net. I am currently porting the GUILIB part of XBMC (which will allow skinning). I have not done anything to get a divx player running (I have scanned the ffmpeg code, but not much more).