RetroFE forums

General Category => General Discussion & Help => Topic started by: Charly_2005 on January 28, 2020, 02:57:19 PM

Title: Interface Problem
Post by: Charly_2005 on January 28, 2020, 02:57:19 PM
Hello again. It turns out that I have an arcade machine with two controllers like as the attached picture.

With the games there is no problem, but with the interface I have the problem that everything is moving automatically after a joystick or button press.

For example: I scroll through the list of games and at one point a press makes it continue moving in that direction, being the only way to stop pressing that direction again.

With the buttons that change the letter the same thing happens, one press and have to press again to stop the automatic movement.

It does not always happen but it is annoying.

I have tried to modify the configuration files without success.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on January 29, 2020, 07:44:41 AM
I've heard before that there are some issues with the zero delay controllers, such that the SDL library (which RetroFE uses) doesn't always register the release of a button. I'm still looking into this problem to see if I can somehow fix it from within the program.
Title: Re: Interface Problem
Post by: Charly_2005 on January 29, 2020, 01:45:01 PM
Thanks for your help.

Do you know if another encoder works?

For my part I can contribute that no button works correctly, the joystick quite well although sometimes it fails and that once pressed a button the joystick goes crazy. The only way to release the pulse is to press the same address or button again.

PD: In controls.conf second line of text (down) one parameter says joyAxis5+ and another says deadzone, but the documentation does not appear.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on January 29, 2020, 04:13:16 PM
I forgot to add deadzone in the documentation; it allows for a controller deadzone to be defined for analog sticks; I'm not sure if the zero delay controller uses those. I've asked a question on the CoinOPS discord channel to see if anyone ever got this working on their zero delay controller setup. I'll let you know if I get a reply.

I'm using the ipac2 board myself; no issues so far.
Title: Re: Interface Problem
Post by: Charly_2005 on January 30, 2020, 01:33:15 PM
Ok. Is the parameter joyAxis5+ correct? Or it should be joyAxis2+.

I expect a response from the community although I would not mind buying the ipac2.  I'm probably better than my encoder.
Title: Re: Interface Problem
Post by: johnm on January 30, 2020, 02:44:41 PM

Paste the line below into a text document and save it, rename the extension to .bat and run it. This will open up your game controller settings, click properties and note down what your joystick registers as and the buttons. You can then make your own controls.conf to what suits you
When copying the button numbers in windows you drop it by 1 in the controls.conf, example button 1 in the windows  control panel you change to joy0Button0 for RetroFE



rundll32.exe shell32.dll,Control_RunDLL joy.cpl
Title: Re: Interface Problem
Post by: Charly_2005 on January 31, 2020, 08:56:23 AM
Thanks for the answer but I have no problems with my controls, I have that well and it works correctly in the games. The problem I have is that the interface goes crazy and as Pieter said, it has to do with the release of the keystrokes.

The other question was to know if joyAxis5 exists, since nothing appears in the official documentation and it appears in my controls.conf (CoinOPS).
Title: Re: Interface Problem
Post by: johnm on January 31, 2020, 01:09:14 PM
The instructions i gave was for the front end, the controls for the game are set up in the emulators.
Some of those settings you will see in the controls.conf are to do with the likes of the xbox360/one controller and will have no relevance to you if you dont have your encoder wired up as such, hence why i recommended making a new controls.conf set up to how you wanted. You could choose your next playlist or whatever based on your buttons and not someone elses

joyAxis5+ and joyAxis2+ are for the shoulder triggers on an xbox controller, the + being because they are analog( i assume)
Title: Re: Interface Problem
Post by: Charly_2005 on January 31, 2020, 04:33:11 PM
Maybe I should configure XINPUT, JOY2KEY or XPADDER for the interface?
Title: Re: Interface Problem
Post by: batodan1911 on February 03, 2020, 07:43:48 AM
i have the same problom its make me crazy
Title: Re: Interface Problem
Post by: Charly_2005 on February 03, 2020, 05:55:44 PM
For now the only recognized solution is to buy the ipac2 encoder.

But there has to be some way to be able to pass the controls as if it were an xbox controller and modify controls.conf
Title: Re: Interface Problem
Post by: Pieter Hulshoff on February 03, 2020, 10:01:27 PM
I'm getting a controller based on a zero delay soon, so I'll have a look to see if I can reproduce the issue, and solve it.
Title: Re: Interface Problem
Post by: Charly_2005 on February 06, 2020, 03:24:05 PM
Thanks. Would you please tell me if there are differences with the ipac2 encoder.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on February 07, 2020, 08:20:55 AM
The Ipac 2 controller simply works. What the differences are w.r.t. the zero delay, I cannot say, since I've never used one.

Sent from my SM-G950F using Tapatalk

Title: Re: Interface Problem
Post by: Charly_2005 on February 08, 2020, 09:30:36 AM
I'm getting a controller based on a zero delay soon, so I'll have a look to see if I can reproduce the issue, and solve it.

He said when you get it. I would like to know if there is a delay or other difference. I don't mind investing in an ipac2.
Title: Re: Interface Problem
Post by: batodan1911 on February 12, 2020, 09:40:16 AM
ipac2 cost much more then the 0 delay kit

im still didnt find a way to fix my 0 delay to work normally
Title: Re: Interface Problem
Post by: Pieter Hulshoff on February 12, 2020, 04:37:36 PM
I'm still waiting for my controller; as soon as I have it I'll look into this matter.
Title: Re: Interface Problem
Post by: procyon on February 12, 2020, 09:31:01 PM
ipac2 cost much more then the 0 delay kit

You get what you pay for.  Zero delay encoder are junk.
Title: Re: Interface Problem
Post by: Charly_2005 on February 19, 2020, 06:01:39 PM
I agree to pay for quality, but in my case it was already installed in the bartop and I had no problem except for the RetroFE interface. As I cannot compare devices I will wait for Pieter to test the zero controller and can give a final conclusion. I am interested to know if there are differences because I do not think it is excessive to pay 40 euros for Ipac2.
Title: Re: Interface Problem
Post by: batodan1911 on February 23, 2020, 05:59:39 AM
peter is always saving the day :)
Title: Re: Interface Problem
Post by: cmundy79 on February 27, 2020, 09:49:03 PM
Thanks for looking into this I too am also having this issue. Not only does it affect scrolling left and right but if you have joy buttons assigned to move up and down the list by letters it will do the same.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on February 28, 2020, 08:12:56 AM
With a little luck the controller will be sent to me this weekend, so hopefully I can have a look next week.
Title: Re: Interface Problem
Post by: Charly_2005 on February 28, 2020, 09:13:17 AM
Great. This answer will help many people.
Title: Re: Interface Problem
Post by: cmundy79 on February 28, 2020, 10:51:17 AM
Thank you very much!
Title: Re: Interface Problem
Post by: Pieter Hulshoff on March 01, 2020, 12:21:53 PM
Ok, I have received the controller, and can reproduce the problem. I will have a look this week to see if I can fix the issue. It looks like the zero delay board doesn't always send the release control to the computer, and RetroFE only reacts to transactions, not status of the keys, so since it does not receive the key release it assumes the key is still pressed.
Title: Re: Interface Problem
Post by: cmundy79 on March 02, 2020, 03:30:22 PM
Thank you very much for looking into this. That’s very interesting and makes sense. I look forward to the fix and again thank you very much!
Title: Re: Interface Problem
Post by: batodan1911 on March 05, 2020, 01:01:22 PM
Ok, I have received the controller, and can reproduce the problem. I will have a look this week to see if I can fix the issue. It looks like the zero delay board doesn't always send the release control to the computer, and RetroFE only reacts to transactions, not status of the keys, so since it does not receive the key release it assumes the key is still pressed.
man you are amazing everyone in coinop try to figure it out and you just did
Title: Re: Interface Problem
Post by: cmundy79 on March 05, 2020, 03:29:19 PM
Ok, I have received the controller, and can reproduce the problem. I will have a look this week to see if I can fix the issue. It looks like the zero delay board doesn't always send the release control to the computer, and RetroFE only reacts to transactions, not status of the keys, so since it does not receive the key release it assumes the key is still pressed.
man you are amazing everyone in coinop try to figure it out and you just did

I agree, yes he is :)
Title: Re: Interface Problem
Post by: ger on March 06, 2020, 12:35:06 AM
He is great
Title: Re: Interface Problem
Post by: BritneysPAIRS on March 06, 2020, 08:51:10 AM
 :) wonder who in coinops was trying to figure this out....8t would be great fix for sure
Title: Re: Interface Problem
Post by: batodan1911 on March 10, 2020, 08:52:18 AM
in the discord of coinop i saw alot of ppl ask this question and all the support team says there is no solution for now
Title: Re: Interface Problem
Post by: cmundy79 on March 10, 2020, 11:33:12 AM
in the discord of coinop i saw alot of ppl ask this question and all the support team says there is no solution for now

I'm sure a solution will be found shortly. :)
Title: Re: Interface Problem
Post by: procyon on March 10, 2020, 03:50:36 PM
I'm sure a solution will be found shortly. :)

Why are you so sure?  ZDE boards are made really cheaply, if a solution could be found it almost certainly would have been made available by now.  More likely, you will see a hardware revision released, and you'll have to buy an upgraded board if you really want it fixed.
Title: Re: Interface Problem
Post by: cmundy79 on March 10, 2020, 03:57:45 PM
I'm sure a solution will be found shortly. :)

Why are you so sure?  ZDE boards are made really cheaply, if a solution could be found it almost certainly would have been made available by now.  More likely, you will see a hardware revision released, and you'll have to buy an upgraded board if you really want it fixed.

Nice one, because I'm hoping that a software side solution can be implemented but I really appreciate your opinion.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on March 10, 2020, 10:01:05 PM
Ok, make a copy of your current retrofe.exe file, and give this one a try. Let me know if it solves anything, and does not introduce too many new problems. :)
Title: Re: Interface Problem
Post by: cmundy79 on March 11, 2020, 12:59:33 AM
Ok, make a copy of your current retrofe.exe file, and give this one a try. Let me know if it solves anything, and does not introduce too many new problems. :)

Pieter, amazing , thank you so much. I've been testing for a while now and it seems to be fixed.  Thank you again for all your hard work on this! 
Title: Re: Interface Problem
Post by: Charly_2005 on March 14, 2020, 04:51:21 PM
I can confirm that it works.  In my tests only once did he go crazy pressing the random select button, I pressed again and it kept working.

Thank you very much Pieter, this will help a lot of people.
Title: Re: Interface Problem
Post by: stef on March 15, 2020, 07:35:05 PM
Hello, message from France, thank you very much, I will finally be able to finalize my arcade terminal. Cheer up!
Title: Re: Interface Problem
Post by: Charly_2005 on March 24, 2020, 01:49:25 PM
Hi Pieter. Could you create an retrofe.exe with the arrangements of this theme and this one too? (http://retrofe.nl/SMF/index.php?topic=409.0 (http://retrofe.nl/SMF/index.php?topic=409.0))

Thanks.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on March 24, 2020, 09:05:05 PM
Themes are not a direct part of RetroFE. CoinOPS uses RetroFE with its own theme, preconfigured emulators and configuration scripts. They're using the exact same version of RetroFE that I posted in the development thread.
Title: Re: Interface Problem
Post by: manu70 on April 28, 2022, 07:25:30 PM
Hello Pieter,

I open the subject because i used your retrofe version. It'works very well. But it's an old version. I would like the parts of the code to compile a new version based on the last version.
Is it possible ?
Thanks.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on April 30, 2022, 06:17:17 AM
https://github.com/phulshof/RetroFE
Title: Re: Interface Problem
Post by: manu70 on May 05, 2022, 11:05:49 PM
Thanks.
I see that the last version is 0.10.31. But the bug that you have corrected in 2020 is not report in this version. Do you have the part of the code to apply in 0.10.31 ?

Thanks for your help.
Title: Re: Interface Problem
Post by: Pieter Hulshoff on May 05, 2022, 11:22:31 PM
Which fix are you referring to exactly?