From: Josh K. <jo...@sl...> - 2009-11-16 14:46:35
|
Hi Mark, I'm confused. Are you saying that you have an iPac in your arcade cabinet? If so, the default lemonlauncher config should work fine. The values used for keymapping are based on SDL keycodes. Not very user friendly I know... but it was the easiest to implement. There should be a file (keycodes.txt) that came with the source or binary distribution that contains the full list of SDL keycodes. I also attached a copy just in case. In your example, for UP (q key) you would locate the key in the keycodes.txt file (SQLK_q) which has the value 113. In the lemonlauncher.conf set 'up = 113' and that should do the trick! Hope this hels... On Mon, 16 Nov 2009 11:10:32 +0000 Mark B <vir...@ho...> wrote: > > I am trying to find the keycodes for the "ipac" as you say you need to configure LemonLauncher to work with the joystick I have on my Arcade Cabinet. > > I've downloaded a tool called XPadder, which appears to mimic the "Escape" key code from your INI file, so I assumed this would also work with the other keys needed. > > So I then managed to get this list directly from XPadder, but adding them into LemonLauncher configuration, causes it to crash. > > Up = Q (081) 51 / Down = W (087) 57 / Left = E (069) 45 / Right = (082) 52 > P1Start = O (079) 4F / P2Start = P (080) 50 / P1Btn1 = U (085) 55 // P1Btn2 = I (073) 49 > > I have tried adding the letter, the 3-digit code, and also the 2-digit code, but each occasion Lemon crashes. > > I'm not sure if the codes XPadder is giving me are compatible with your Launcher, but you have not included a file stating which key is what number to enter into the configuration. > > Please can you help. > > Many Thanks, > Mark > -- Josh Kropf <jo...@sl...> |