Wanna use Classic Controller analog stick in MAME

Blue Protoman

Well-Known Member
Member
Joined
Apr 1, 2010
Messages
102
Trophies
0
Age
26
Location
Long Island, NY
Website
Visit site
XP
21
Country
United States
MAME .118 and above do not work with the Wii Remote. I know this, and have dowloaded .117. But how can I get the analog sticks on the Classic Controller (which I know for fact GlovePIE supports) to work as...well, analog sticks?
 

Neko

Been a while.
Member
Joined
Dec 5, 2006
Messages
799
Trophies
0
Age
27
Location
#gbatemp.net
Website
Visit site
XP
316
Country
Gambia, The
Blue Protoman said:
MAME .118 and above do not work with the Wii Remote. I know this, and have dowloaded .117. But how can I get the analog sticks on the Classic Controller (which I know for fact GlovePIE supports) to work as...well, analog sticks?


I can't think of any MAME game that would actually use analogsticks. It would be better if you mapped the sticks as DPads I think.
 

Blue Protoman

Well-Known Member
Member
Joined
Apr 1, 2010
Messages
102
Trophies
0
Age
26
Location
Long Island, NY
Website
Visit site
XP
21
Country
United States
Neko said:
Blue Protoman said:
MAME .118 and above do not work with the Wii Remote. I know this, and have dowloaded .117. But how can I get the analog sticks on the Classic Controller (which I know for fact GlovePIE supports) to work as...well, analog sticks?


I can't think of any MAME game that would actually use analogsticks. It would be better if you mapped the sticks as DPads I think.


Every single racing game ever made in arcades, for one. Also, what would be good settings for the D-Pad? The default digital controls are WAY too sensitive when used on analog games.
 

akuma099

New Member
Newbie
Joined
May 17, 2010
Messages
1
Trophies
0
XP
1
Country
United States
I was having the same problem and found a solution. Use 1 additional program called "VJoy". It's a free tray app that emulates joystick functions using keyboard keys for inputs. Works with MameUI+MameXT32 v.137. Should work for any other version as you now have a joystick for input.
Here's my glovepie script.
CODE//LEDs look somewhat like KITT's grill from Knight Rider
if 0 = 0 then
if var.kitt = 0 then
wiimote.Leds = 1
wait 200 ms
endif
if var.kitt = 1 then
wiimote.Leds = 3
endif
if var.kitt = 2 then
wiimote.Leds = 6
endif
if var.kitt = 3 then
wiimote.Leds = 12
endif
if var.kitt = 4 then
wiimote.Leds = 8
wait 200 ms
endif
if var.kitt = 5 then
wiimote.Leds = 12
endif
if var.kitt = 6 then
wiimote.Leds = 6
endif
if var.kitt = 7 then
wiimote.Leds = 3
endif
wait 100 ms
var.kitt = (var.kitt + 1) % 8
endif


keyboard.Ctrl = classic1.b
keyboard.Alt = classic1.a
keyboard.space = classic1.R
keyboard.LeftShift = classic1.ZR
keyboard.Z = classic1.y
keyboard.X = classic1.x
keyboard.C = classic1.L
keyboard.V = classic1.ZL
keyboard.Five = classic1.Select
keyboard.One = classic1.Start
keyboard.Up = (classic1.LeftStickY < -1)
keyboard.Down = (classic1.LeftStickY > 1)
keyboard.Left = (classic1.LeftStickX < -1)
keyboard.Right = (classic1.LeftStickX > 1)


/*
var.Button1 = keyboard.Ctrl
var.Button2 = keyboard.Alt
var.Button3 = keyboard.Space
var.Button4 = keyboard.LeftShift
var.Button5 = keyboard.Z
var.Button6 = keyboard.X
var.Button7 = keyboard.C
var.Button8 = keyboard.V
var.UP = keyboard.Up
var.Down = keyboard.Down
var.Left = keyboard.Left
var.Right = keyboard.Right
var.Select = keyboard.Five
var.Start = keyboard.One
*/

In "VJoy" map your keys to joystick functions. You can emulate up to 16 buttons! I'm actually using my Tatsunoko fightstick and thanks to madcatz, it talks the same way the classic controller would thorugh the wiimote. Once your done setting it up launch mame change controllers to joystick. Then launch any game and go through player 1 controls and map everything. Mine was Joy 2... Then go to Other controls to map the coin and start. After that give it a go. Rockin some fatal fury 2 now.
 

Seicomart

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
263
Trophies
0
XP
166
Country
Is there any way you could use the analogue sticks of an Xbox or Xbox 360 controller as inputs for mame that anybody knows of?
 

Site & Scene News

General chit-chat
Help Users
  • DinohScene @ DinohScene:
    sup lionman!
  • Costello @ Costello:
    still working on the site and stuff
  • tsao @ tsao:
    ew eur*peans
  • Searinox tempBOT:
    Searinox has left the room.
  • Costello @ Costello:
    filthy europeans
  • Costello @ Costello:
    mighty asians
  • kenenthk @ kenenthk:
    Recovering lost partitions sucks ass
  • kenenthk @ kenenthk:
    Attempting to recover a 2tb worth of movies and this 320 weirdly won't initialize
  • DinohScene @ DinohScene:
    huraay for keeping backups
  • kenenthk @ kenenthk:
    huraay for that backup drive being the issue back up a back up of a
    back ups :teach:
  • DinohScene @ DinohScene:
    if only you could encode the backup in your DNA and carry it with you
  • kenenthk @ kenenthk:
    In 20 years we'll probably have micro sd cards implants in our heads
  • DinohScene @ DinohScene:
    microsd?
  • kenenthk @ kenenthk:
    I'd be okay with getting my brain taken out and replaced with one as long as its not intel or apple
  • DinohScene @ DinohScene:
    shiet get on with the time grampa, we're using picoSD now
  • kenenthk @ kenenthk:
    Only the most important humans will have nvme installed in their head
  • _Shimon @ _Shimon:
    oh shit this exists
  • Arras @ Arras:
    wait this is where the shoutbox went?
  • Adran_Marit @ Adran_Marit:
    What are everyone's
    thoughts on gpu prices atm?
  • Arras @ Arras:
    high
  • Adran_Marit @ Adran_Marit:
    lol yes they are high, mate of mine just got a 1080 for $700 AUD
  • Adran_Marit @ Adran_Marit:
    second hand which is nuts as when the 3070 came out here that's how much it was new at the time
  • kenenthk @ kenenthk:
    I
    f you have tech that can decently run games don't buy anything yet wait a year or two
  • Adran_Marit @ Adran_Marit:
    I just got a core build upgrade, minus gpu due to price, will be running my GTX780 until I can afford an upgrade
  • kenenthk @ kenenthk:
    Prices are up because of bots and
    shortages it'll die down with a year or two
    kenenthk @ kenenthk: Prices are up because of bots and shortages it'll die down with a year or two