Retroarch & Wii remote on RPI2

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Retroarch & Wii remote on RPI2

Postby tpfkanep » Fri Feb 26, 2016 8:58 pm

Using [cwiid], I can use my Wii Remote with Kodi, XFCE4, tty... But I cannot get Retroarch to work with the Wii Remote.

I normally initialise the Remote in one tty with: $this->bbcode_second_pass_quote('', 'w')minput -c /etc/cwiid/wminput/acc_led


acc_led file:
$this->bbcode_second_pass_code('', '#acc_led

include buttons

Plugin.acc.X = REL_X
Plugin.acc.Y = REL_Y

# You can set Plugin.led.Led[1->4] to 1
# to have that led be active all the time
Plugin.led.Led4 = 1

# Setting battery to 1 enables the battery check function
# By default the keypress is A + B
# You can change this by setting Plugin.led.Button to any
# wiimote or attachment button
Plugin.led.Battery = 1
')

buttons file:
$this->bbcode_second_pass_code('', '#buttons

Wiimote.A = KEY_ENTER
Wiimote.B = KEY_BACKSPACE
Wiimote.Up = KEY_UP
Wiimote.Down = KEY_DOWN
Wiimote.Left = KEY_LEFT
Wiimote.Right = KEY_RIGHT
Wiimote.Minus = KEY_BACK
Wiimote.Plus = KEY_FORWARD
Wiimote.Home = KEY_HOME
Wiimote.1 = KEY_PROG1
Wiimote.2 = KEY_PROG2

Nunchuk.C = BTN_LEFT
Nunchuk.Z = BTN_RIGHT

Classic.Up = KEY_UP
Classic.Down = KEY_DOWN
Classic.Left = KEY_LEFT
Classic.Right = KEY_RIGHT
Classic.Minus = KEY_BACK
Classic.Plus = KEY_FORWARD
Classic.Home = KEY_HOME
Classic.A = BTN_LEFT
Classic.B = BTN_RIGHT
#Classic.X =
#Classic.Y =
#Classic.ZL =
#Classic.ZR =
#Classic.L =
#Classic.R =
')

Retroarch is started in another tty.
tpfkanep
 
Posts: 26
Joined: Sun Nov 09, 2014 10:03 am

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 8 guests