Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)  (Read 8078 times)

0 Members and 1 Guest are viewing this topic.

Almighty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:October 28, 2013, 04:42:59 pm
    • Mighty Cade
Hope someone can help me out with this.

I bought a i-pac and can't get the controls working from my stick in Mala.
Other buttons no problem only my stick won't work.

What wrong :banghead:

I tought it was easy but.....

Here some pictures:


also setup my controls in other emulators works te same, my buttons worked fine only can't get the stick working...

« Last Edit: February 18, 2013, 12:54:01 pm by Almighty »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 12, 2025, 11:32:53 pm
  • ...
Re: setup i-pac controls in Mala
« Reply #1 on: February 16, 2013, 06:00:50 pm »
Could be that you have UP mapped to two different things and DOWN mapped to three different things.
Mala is probably confused as to what it should do.

x up and x down means jump by a certain amount (x).
I think the default is 10.
« Last Edit: February 16, 2013, 06:02:32 pm by BadMouth »

Almighty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:October 28, 2013, 04:42:59 pm
    • Mighty Cade
Re: setup i-pac controls in Mala
« Reply #2 on: February 16, 2013, 06:11:08 pm »
how do i reset all in Mala so i can start again?

it don't matter if i use the same input in other emulators right?

edit:

if i do the same in my emulators like NES: i can change everything also the stick give me problems.

maby it has to do with the stick? it has i ground wire and 4 colors (up/down/left/right)

Do i have to use a stick with every move one ground wire like the older ones? No i have Sanwa with a molex plug.
« Last Edit: February 16, 2013, 06:21:05 pm by Almighty »

Almighty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:October 28, 2013, 04:42:59 pm
    • Mighty Cade
Re: setup i-pac controls in Mala
« Reply #3 on: February 17, 2013, 04:49:45 am »
now i set up a fresh one on my laptop and now nothing happens.

al buttons not working and no responce, led blinking on my i-pac :banghead:

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: setup i-pac controls in Mala
« Reply #4 on: February 17, 2013, 08:53:52 am »
I don't know if this is of any help, BUT :

Right out of the box upon install Mala always works flawlessly for me.
Seems to be mapped to be very MAME + ipac friendly.
In the past using Sawna joysticks the problem always comes from the way you orient the joystick.

What I'd do is hook up the ground (black), then take one wire, say you want that to be up, hook that up into UP on the ipac.
Move the joystick in each direction until the joystick registers a movement, with a marker mark the underside of the joystick so you know which is up.
Then just do the same with all the wires.

Almighty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:October 28, 2013, 04:42:59 pm
    • Mighty Cade
Re: setup i-pac controls in Mala
« Reply #5 on: February 17, 2013, 11:09:15 am »
I don't know if this is of any help, BUT :

Right out of the box upon install Mala always works flawlessly for me.
Seems to be mapped to be very MAME + ipac friendly.
In the past using Sawna joysticks the problem always comes from the way you orient the joystick.

What I'd do is hook up the ground (black), then take one wire, say you want that to be up, hook that up into UP on the ipac.
Move the joystick in each direction until the joystick registers a movement, with a marker mark the underside of the joystick so you know which is up.
Then just do the same with all the wires.

thanks Mike,

i didt that, only groud (black) in they first terminal from my i-pac and the one colored wir from my stick in the UP from my i-pac.

I only get the left working, no mather wich color.....

And now nothing is working anymore on my i-pac?

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: setup i-pac controls in Mala
« Reply #6 on: February 17, 2013, 11:30:55 am »
Actually, this reminds me.
When I was wiring up my DK JR I used a Sanwa JLF joystick and an inexpensive harness from China.
I had the same issue, only left worked.
I think possibly, something about the harness causes this problem.
Possibly Sanwa JLF can't be used with an iPac ?
Did you email Andy @ Ultimarc.

CpCaveman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 110
  • Last login:January 06, 2018, 11:43:05 am
  • Contains 0% horsemeat , may contain BULL though :)
Re: setup i-pac controls in Mala
« Reply #7 on: February 17, 2013, 12:11:09 pm »
check the settings i put below , or test the up down left right, by disconnecting the joystick and replacing each input with a pushbutton and then test them all if you get an output its the harness or joystick, if you dont its the setup/ipac, havent seen a joystick like that for real (i`m using cheap ones :) ) , just guessing they`re 4 prewired micro switches to a connector, sounds like its a dodgy ground in there as it would be just one output not working, can you take it apart and do a continuity test? probably just a solder joint.

the settings i have on the screen youre showing

1 up - UP   1 down - DOWN   prev list - LEFT  Next list - RIGHT
X up - UP(+shift)  X down - DOWN(+shift)  prev emulator - LEFT(+shift)  next emulator - RIGHT(+shift)

shift key - CTRL

the ones your showing dont seem to make sense to me but i dont know how your running your control panel only saying it doesnt make sense as according to your setup, when you try to scroll down your in list of games, mala is also trying to change emulator, and when you try to scroll up the list its also trying to X scroll up.

ps if the writing is in blue it means that input was activated while the `shift`key (+shift) is held down, caught me out in the setting up
« Last Edit: February 17, 2013, 12:37:14 pm by CpCaveman »
Hit something hard enough it should work, if it dont the result can always be called art :)

Almighty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:October 28, 2013, 04:42:59 pm
    • Mighty Cade
Re: setup i-pac controls in Mala
« Reply #8 on: February 17, 2013, 05:29:13 pm »
check the settings i put below , or test the up down left right, by disconnecting the joystick and replacing each input with a pushbutton and then test them all

i didt and all working! :applaud:

so Sanwa is not supported with i-pac, so wich sticks are comptible with they i-pac?

are these compatible:
http://www.excellentcom.net/detail.asp?catid=71619&subcatid=71618&pdtid=307176&private=
ore these
http://www.smallcab.net/product_info.php?cPath=30_36&products_id=68

thanks al for the great support helping me out :)

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)
« Reply #9 on: February 17, 2013, 07:38:05 pm »
This is going to sound corny, but again I recall having an issue with a Sanwa prior.
And only the left function worked.
I remember talking to a buddy who was an electrical engineer back in Srilanka and said, "I bet only left works."
He told me the reason, but I forget. Now again this was using a different encoder, not an iPac.
I had to switch to Zippy sticks, inexpensive zippy sticks.

However I'm quite certain that tons of people use Sanwa and iPac.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 12, 2025, 11:32:53 pm
  • ...
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)
« Reply #10 on: February 17, 2013, 07:49:53 pm »
It doesn't look like you can go by the colors of the wires on your harness.
Black definitely shouldn't be in the middle!?!?
On mine, it's on the outside edge.

(this was a smartass response to people who wanted a wiring diagram to make sure they had the right wire for "UP", but it's useful here)


Try it again going by wire location instead of color.
You should be able to tell which one is ground by looking at the board and seeing which trace goes to every button.
« Last Edit: February 17, 2013, 07:58:31 pm by BadMouth »

Almighty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:October 28, 2013, 04:42:59 pm
    • Mighty Cade
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)
« Reply #11 on: February 18, 2013, 01:01:31 am »
yes i also checked that picture, here i my pinout diagram from my JLF Sanwa.

And if the colors are right the ground is in the middle.

so yellow/white or orange can also be ground????

Now i see, i think the yellow/white is the ground, hard to see but they have two colors.

(stupid me)

Let's hope this will be it and will check tonight, normaly black is ground but there is only one wire with 2 colors and hard to see.


« Last Edit: February 18, 2013, 01:05:25 am by Almighty »

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 12, 2025, 11:32:53 pm
  • ...
RE: setup i-pac controls in Mala (Sanwa stick JLF not working)
« Reply #12 on: February 18, 2013, 06:57:38 am »
Actually, going by your first pic, it looks like orange should be ground.
Ignore the colors on your harness and go by the position.

I'd give the vendor hell for selling you a messed up harness and no instructions.  They are probably using harnesses meant for something else because they can get them cheaper.
« Last Edit: February 18, 2013, 09:30:19 am by BadMouth »

CpCaveman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 110
  • Last login:January 06, 2018, 11:43:05 am
  • Contains 0% horsemeat , may contain BULL though :)
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)
« Reply #13 on: February 18, 2013, 11:24:51 am »
badmouth is right, comparing the two pics if theyre the same joystick

your harness should be wired:

orange - ground
light blue - left
black - right
red - up
yel/white - down

on a side note, when youre testing, my mini-pac came with config software for assigning the keys to inputs which light up on screen when activated, probably easier to use that while testing the wiring, rather than starting mala each time.

I`m all for non-discrimination in the workplace but the colour blind shouldnt be building wiring harnesses :)

btw the joystick IS compatible, its just 4 switches activated by the stick (same as the pushbutton test you did) its the colour coding of the wires you recieved that seem to be wrong.
« Last Edit: February 18, 2013, 11:28:07 am by CpCaveman »
Hit something hard enough it should work, if it dont the result can always be called art :)

Almighty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:October 28, 2013, 04:42:59 pm
    • Mighty Cade
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)
« Reply #14 on: February 18, 2013, 12:57:44 pm »
your harness should be wired:

orange - ground
light blue - left
black - right
red - up
yel/white - down



Almost,

red - down
yellow/white - up


and it works!! :applaud:

Normal i put this sticks in my cab and never got problems with them so using a i-pac was new for me, it took me 14 hours to completed this haha.

I want to thank you al guys for helping me out with this (easy) solution
« Last Edit: February 18, 2013, 01:04:29 pm by Almighty »

CpCaveman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 110
  • Last login:January 06, 2018, 11:43:05 am
  • Contains 0% horsemeat , may contain BULL though :)
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #15 on: February 18, 2013, 01:40:34 pm »
badmouth found the pic ( from the smartass :) ) I just looked at the pictures and wrote it down how i`d understand it :) , all the kudos to him (thats badmouth, NOT the smartass :) there`s help and there`s `help` ) , I`m just glad you got it working, made putting off the final touches to mine worth it :) bet youre buzzing now, I was :)

here`s my shoebox, swearing and hitting things stage picture :) (the missus did most of the swearing :) come to think of it there was more hitting too )
Hit something hard enough it should work, if it dont the result can always be called art :)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 12, 2025, 11:32:53 pm
  • ...
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #16 on: February 18, 2013, 02:37:33 pm »
badmouth found the pic ( from the smartass :) ) I just looked at the pictures and wrote it down how i`d understand it :) , all the kudos to him (thats badmouth, NOT the smartass :) there`s help and there`s `help` ) , I`m just glad you got it working, made putting off the final touches to mine worth it :) bet youre buzzing now, I was :)

here`s my shoebox, swearing and hitting things stage picture :) (the missus did most of the swearing :) come to think of it there was more hitting too )

Oh, I AM THE SMARTASS who originally made it.   ;D

It was a response to multiple users in two different threads (on the same day) asking for wiring diagrams that told them which color wire went to "UP", etc.
They couldn't seem to wrap their head around that it depends on which way the stick is mounted.  They ignored any other diagrams and help that were posted and kept asking for one that had the directions labeled.
I had a JLF handy, so I made it up.  Haven't seen another request on here since, lol.

It was supposed to be a joke, but I actually refer to it when wiring them up now.  :lol
I'm glad it proved useful here.

« Last Edit: February 18, 2013, 02:44:02 pm by BadMouth »

CpCaveman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 110
  • Last login:January 06, 2018, 11:43:05 am
  • Contains 0% horsemeat , may contain BULL though :)
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #17 on: February 18, 2013, 02:47:11 pm »
you only get one lot of kudos dammit hehehe  :laugh:

ps i referred to both pics and still got the up and down mixed up  ::) i`m too honest for my own good :) but then again i`m slightly enebriat...inebria...  drunk :) good job tho, who hasn`t mixed the up and down on thier first attempt  :dizzy:

anyhoo nice job and the result was great, everyones happy  :cheers:

just double checked according to your pic your red (his yel/white) should be the up input so i wasnt wrong :)
« Last Edit: February 18, 2013, 04:13:50 pm by CpCaveman »
Hit something hard enough it should work, if it dont the result can always be called art :)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 12, 2025, 11:32:53 pm
  • ...
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #18 on: February 18, 2013, 04:31:50 pm »
just double checked according to your pic your red (his yel/white) should be the up input so i wasnt wrong :)

Nope, you were wrong.  :)

It's a bit confusing as the labels are the direction the joystick balltop is moving as viewed from underneath.
I should have done it from overhead.

Imagine grabbing the joystick in the pic at the top and rotating it (along with the labels) toward you so that you're now looking at the topside.
That is how the OPs stick is oriented.  Orange in my diagram would be down and red would be up. 
=red down and yellow up for Almighty.  (pins 4 and 5)

CpCaveman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 110
  • Last login:January 06, 2018, 11:43:05 am
  • Contains 0% horsemeat , may contain BULL though :)
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #19 on: February 18, 2013, 04:55:19 pm »
Quote
It's a bit confusing as the labels are the direction the joystick balltop is moving as viewed from underneath.
I should have done it from overhead.

red joystick(not pic) down (your red is his yellow/white)

Quote
Almost,

red - down
yellow/white - up


his reply got me thinking thats all, i was going by the fact HE wired his yellow/white (your red which is moving the joystick down according joystick and not the pic) i get the principles of leverage and that the opposite microswitch is triggered (also get the smartass pic btw kind of :) ) but if your red is for the down input (joystick down as you hold the joystick not looking at pic) and it was wired to the down input, that i hadnt made a mistake and there`s a setup/mixup on his side, was just going by what i read not what experience i`ve had so no offence meant :angel: pretty easy to switch em around
Hit something hard enough it should work, if it dont the result can always be called art :)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 12, 2025, 11:32:53 pm
  • ...
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #20 on: February 18, 2013, 05:21:46 pm »
(your red which is moving the joystick down according joystick and not the pic) i get the principles of leverage and that the opposite microswitch is triggered (also get the smartass pic btw kind of :) ) but if your red is for the down input (joystick down as you hold the joystick not looking at pic) and it was wired to the down input, that i hadnt made a mistake and there`s a setup/mixup on his side, was just going by what i read not what experience i`ve had so no offence meant :angel: pretty easy to switch em around

except red isn't down in my pic if green is left.

If red were down, yellow would be left.

 :)

EDIT: Ugh, the lengths I'm willing to go to prove I'm right (or avoid doing my job).
The upper left corner is like Almighty's CP or my pic from underneath.
Guess I should add this to the old threads for the sake of clarity.
« Last Edit: February 18, 2013, 05:58:07 pm by BadMouth »

CpCaveman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 110
  • Last login:January 06, 2018, 11:43:05 am
  • Contains 0% horsemeat , may contain BULL though :)
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #21 on: February 19, 2013, 03:20:14 pm »
This is wierdly fun :) dont hate me (and i`m honestly not being awkward) but....

Quote
except red isn't down in my pic if green is left.

If red were down, yellow would be left.

it wouldnt, youre focusing on the joystick not the inputs to the ipac

i`m just going by the results the other guy got btw
« Last Edit: February 19, 2013, 03:21:50 pm by CpCaveman »
Hit something hard enough it should work, if it dont the result can always be called art :)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 12, 2025, 11:32:53 pm
  • ...
Re: setup i-pac controls in Mala (Sanwa stick JLF not working)FIXED :)
« Reply #22 on: February 19, 2013, 03:31:31 pm »
 maybe it is wrong..... :dunno