Jump to content

[Tutorial] Using WiiMote as default joypad in Linux for PokeMMO

Recommended Posts

Hi, i'm linux user!

So, first of all i must admit i dont like the pixelated graphics without antialiasing. Because this i decided to playing pokemmo not in my monitor but in my televisor with some meters of distance of my eyes.

Yes, i have a dualshock and yes, works as well but it's have a battery and sometime the battery it's running low, when this happens, i drop  the dualshock and i start to use my WIIMOTE.
The wiimote don't have recognized axis by the system, that's why the simples "translators" gamepad to keyboard + mouse don't serve.
So, i will put in this tread my configuration using the wiimote community drivers for linux, for my companios of pokemmo use or improve this.

You will need a wiimote and bluetooh receptor to use the Wiimote in your S.O

First of all, install this packages in your linux system:
(open the terminal)

sudo apt-get install libcwiid1 lswm wmgui wminput

More information here: https://help.ubuntu.com/community/CWiiD

After that, in the terminal put this code

sudo gedit /etc/cwiid/wminput/pokemmo

When opens, put this content

#start here
Plugin.ir_ptr.X = ABS_X
Plugin.ir_ptr.Y = ABS_Y
#custom buttons for PokeMMO
Wiimote.Up              = KEY_UP
Wiimote.Down     = KEY_DOWN 
Wiimote.Left     = KEY_LEFT
Wiimote.Right   = KEY_RIGHT
Wiimote.A               = KEY_Z
Wiimote.B               = KEY_X 
Wiimote.Minus   = KEY_C 
Wiimote.Plus   = KEY_V  
Wiimote.Home   = KEY_D
Wiimote.1       = KEY_N
Wiimote.2       = KEY_G
Nunchuk.C               = BTN_RIGHT
Nunchuk.Z               = BTN_LEFT
Plugin.nunchuk_kb.Up = KEY_F1
Plugin.nunchuk_kb.Down = KEY_F2
Plugin.nunchuk_kb.Left = KEY_F3 
Plugin.nunchuk_kb.Right = KEY_F4 


Save it and close.

So, after that, put your wiimote in discovery mod and past this code in terminal and press enter:

sudo wminput -c /etc/cwiid/wminput/pokemmo

Done, you are totally prepared to play PokeMMO with your WiiMote!


(yes, you can close your terminal)

Edited by gamaghostmagus
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.