The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: nick3092 on April 06, 2010, 09:28:26 pm

Title: MaLa and GP-Wiz40 - "buttons" 17 through 32 don't appear to work- FIXED
Post by: nick3092 on April 06, 2010, 09:28:26 pm
I have a GP-Wiz40 and am using MaLa. However, I've noticed "buttons" 17 through 32 don't appear to work. In the "check" tab they show up correctly. But when I asign them to a function, they don't work.

Is this a known issue, or am I just lucky? :) I'm using the beta 1.6g version.

Thanks!

-Nick
Title: Re: MaLa and GP-Wiz40
Post by: loadman on April 06, 2010, 11:18:05 pm
I have a GP-Wiz40 and am using MaLa. However, I've noticed "buttons" 17 through 32 don't appear to work. In the "check" tab they show up correctly. But when I asign them to a function, they don't work.

Is this a known issue, or am I just lucky? :) I'm using the beta 1.6g version.

Thanks!

-Nick


Ahhh At last a beta tester... yes?

I don't have a Joystick with so many buttons.

Thanks for reporting

I will have a look
Title: Re: MaLa and GP-Wiz40
Post by: nick3092 on April 06, 2010, 11:26:48 pm
I will gladly test. I'm just building my cab right now. So it's certainly not 100% functional. But I'm glad to help out any way I can!
Title: Re: MaLa and GP-Wiz40
Post by: loadman on April 06, 2010, 11:44:46 pm
I will gladly test. I'm just building my cab right now. So it's certainly not 100% functional. But I'm glad to help out any way I can!

I had a look through the code and can't see any mistakes?

I think it is odd that the buttons work in the config tester but not mala itself as the control share code.

I might send you a version with extra logging for you to test
Title: Re: MaLa and GP-Wiz40
Post by: nick3092 on April 07, 2010, 06:29:02 pm
Yeah, I thought it was odd too.  But I went through and tested every input/"button" till I found where they stopped working - 17.  It could just be coincidence, but those are all the buttons on the second row of the tester.  Not sure if there is a correlation there.
Title: Re: MaLa and GP-Wiz40
Post by: loadman on April 08, 2010, 03:34:44 am
Yeah, I thought it was odd too.  But I went through and tested every input/"button" till I found where they stopped working - 17.  It could just be coincidence, but those are all the buttons on the second row of the tester.  Not sure if there is a correlation there.

Mystery? 

I will PM you a location to download a test version later  ;D

Ahh I treated myself and bought one.

I will find out soon enough what the problem is
Title: Re: MaLa and GP-Wiz40
Post by: loadman on April 16, 2010, 01:18:34 am
Ahh I treated myself and bought one.
I will find out soon enough what the problem is

How long does it take to get here.  ???
Title: Re: MaLa and GP-Wiz40
Post by: nick3092 on April 17, 2010, 08:52:10 am
Ahh I treated myself and bought one.
I will find out soon enough what the problem is

How long does it take to get here.  ???

I've placed several orders from GGG.  I always get them pretty quick.  But then again, I'm in the States.  ;D
Title: Re: MaLa and GP-Wiz40
Post by: loadman on April 19, 2010, 04:08:05 am
Ahh I treated myself and bought one.
I will find out soon enough what the problem is

How long does it take to get here.  ???

I've placed several orders from GGG.  I always get them pretty quick.  But then again, I'm in the States.  ;D

Well , Ultimarc gear get's here in a week   ;D
Title: Re: MaLa and GP-Wiz40
Post by: loadman on April 20, 2010, 08:06:30 pm
Ahh I treated myself and bought one.
I will find out soon enough what the problem is

How long does it take to get here.  ???

I've placed several orders from GGG.  I always get them pretty quick.  But then again, I'm in the States.  ;D

Well , Ultimarc gear get's here in a week   ;D

It Arrived .     :applaud:   I will play with it tonight  ;D
Title: Re: MaLa and GP-Wiz40
Post by: loadman on April 23, 2010, 11:37:30 pm
Hi I confirmed the problem.

Will check the code and see if I can fix this.

It might be hard problem if the default Joystick call back does not support this..

Stay tuned
Title: Re: MaLa and GP-Wiz40
Post by: nick3092 on April 24, 2010, 12:23:41 am
Hi I confirmed the problem.

Will check the code and see if I can fix this.

It might be hard problem if the default Joystick call back does not support this..

Stay tuned

Glad to know I'm not crazy. ;)
Title: Re: MaLa and GP-Wiz40 - "buttons" 17 through 32 don't appear to work
Post by: loadman on April 24, 2010, 05:53:09 am
Yup,

Good news is I can fix ...but it will take a while. Basically replacing the way Joystick is used in MaLa.

I no doubt will break something that someone will tell me about later on   ;D

I promised to add the 'shift' feature to Joysticks anyway....  and it is in the same area
Title: Re: MaLa and GP-Wiz40 - "buttons" 17 through 32 don't appear to work
Post by: loadman on April 25, 2010, 01:48:06 am
D'oh!

Just changing 'WORD' to 'Int64' in a few places got me up to 31 buttons.   ;D   Easy, once I worked out how the lib code worked.

 Not sure why button 32 does not work yet but 31 or less does  ???

[edit]
FIXED  ;D
[/edit]

Case Closed
Title: Re: MaLa and GP-Wiz40 - "buttons" 17 through 32 don't appear to work- FIXED
Post by: nick3092 on April 25, 2010, 02:04:13 pm
Yay!  Looking forward to the next release!  Thanks! :applaud:
Title: Re: MaLa and GP-Wiz40 - "buttons" 17 through 32 don't appear to work
Post by: loadman on April 28, 2010, 12:06:54 am
Just changing 'WORD' to 'Int64' in a few places got me up to 31 buttons.   ;D   Easy, once I worked out how the lib code worked.

Actually (for anyone who cares) I probably went overboard increasing its type. I might peg it back to LongWord rather than Int64