Questions (#2) - How to map analog stick to directional buttons (#59) - Message List
Here is what i'm trying to do: map 0 90 180 270 on the analog stick of the nunchuk to send up down left and right
i'd also like to be able to map a button to change the mode of the analog stick to be able to take mouse input from it and the wiimote or disable the wiimote and just take input from it. i thought with a previous version i rememered using the analog stick for mouse input before, but i'm not sure how that was done.
Hi, I wrote a plugin to map nunchuck stick to keys, such as directional keys. It's available there : http://kyrlian.free.fr/binaries/cwiid/latest/kyrlian01/24/08 12:23:31 (5 years ago)
Has anyone gotten this to work? make keeps failing because there's no Makefile in plugins/ir_fps/. All the other plugins have a Makefile but I don't know how to create a new one.immensewok03/20/08 01:56:30 (5 years ago)
I got it to work. You have to add the ir_fps and nunchuk_kb directories to configure.ac after copying the directories over. You should see where you need to add them near the bottom of configure.ac. Then do the usual autoreconf, ./configure, make, make install, and all should go well.nickishappy03/20/08 06:48:12 (5 years ago)
I never would've looked there. I made the changes and installed automake. Now the make, make install process finishes without any errors. The ir_fps and nunchuk_kb folders have a Makefile now. However, I can't run "wminput -c ir_fps" because the file isn't found. Checking /usr/local/etc/cwiid/wminput/ only shows the default plugins, not the new ones. I thought this is where the plugins lived. I'm running Mythbuntu 7.10 and, yes, I'm a noob so your help is really appreciated.
Edit: My bad. I need to run "wminput -c fps_config." Silly mistake. Thanks for the help.
PS: Just so I know, if you're adding plugins to the source of any program, does configure.ac need to be changed everytime? Is this file the instructions for make?immensewok03/20/08 13:45:19 (5 years ago)