WMINPUT(1)
๐ NAME ๐
okay so bestie, wminput is literally an event driver for the wiimote. that's the whole vibe. ๐ฎโจ
๐ฆ SYNOPSIS ๐ฆ
wminput [options]
๐ธ DESCRIPTION ๐ธ
so like, this page is just a lil quick rundown of the wminput command, fr fr. it's giving "the short version."
wminput is a program that provides an event driver for the wiimote ๐ โ it supports all the buttons (except Power, RIP) plus pointer tracking, and it's got a whole tracking algorithm plugin architecture, which is honestly so iconic of it.
๐ the kernel situation (yes, you have to do this)
your kernel must be configured with uinput support. in config-speak that's INPUT_UINPUT, or under menuconfig it lives at Device Drivers/Input Device Support/Miscellaneous Drivers/User Level Driver Support. you can compile it into the kernel or as a module, your call boo. ๐ซถ
there's a guide at http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually if you want the kernel-compilation lore.
โ ๏ธ okay so here's the annoying part: by default, some (most? all?) udev configurations set up a uinput device file that's readable only by root. so if you wanna run wminput as a user that isn't root, you gotta configure udev to change the permissions on uinput. no cap.
drop this line into a file in /etc/udev/rules.d (check your distro's docs for which file is the recommended one for local rules) to let anyone on the system use uinput:
KERNEL=="uinput", MODE="0666"
a more secure method ๐ก๏ธ uses this next line instead โ it lets anyone in <group> use wminput, and you just add only the users you actually want to <group>:
KERNEL=="uinput", GROUP="<group>"
a uinput group can be created specifically for this purpose, or you can just use another existing group, like wheel. slay. ๐
๐ getting X to cooperate
getting X to recognize non-standard key symbols, and mapping actions to those symbols, is not automatic. not even a little. there's an excellent tutorial at http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys that can help you set this up.
here's the overview (but fr, go read the HOWTO for the real info):
- Edit
~/.CWiid/wminput.conf - Use
xev,wminput, and your wiimote to find out if the key symbols are already mapped, and find the key codes if they are not. - If the codes are not mapped to the appropriate symbols, edit
~/.Xmodmap, and usexmodmapto map them. (a copy of my~/.Xmodmapis included inCWiid/doc๐ฅบ) - Use
xbindkeysor a window-manager-specific utility to map the key symbols to specific actions.
๐ง plugin lore
wminput tracking plugins are, by default, installed to /usr/lib/CWiid/plugins. plugins may also be placed in ~/.CWiid/plugins, and plugins placed there take precedence. ๐
โจ OPTIONS โจ
-hโ show summary of options. the classic "help me" move.-v,--versionโ output version information and exit.-c,--config [file]โ choose config file to use.-d,--daemonโ implies-q,-r, and-w. it's doing the most so you don't have to.-q,--quietโ reduce output to errors. only the drama, nothing else.-r,--reconnect [wait]โ automatically try reconnect after wiimote disconnect. she comes back. ๐ฅ-w,--waitโ wait indefinitely for wiimote to connect. patient queen energy.bdaddrโ specify the wiimote bluetooth address. the bluetooth device address (bdaddr) of the wiimote can be specified on the command-line, or through theWIIMOTE_BDADDRenvironment variable, in that order of precedence. if neither is given, the first wiimote found byhci_inquirywill be used. (so like, command line > env var > whateverhci_inquiryfinds first ๐ซ)
๐ SEE ALSO ๐
๐ AUTHOR ๐
wminput was written by L. Donnie Smith <cwiid@abstrakraft.org> ๐ซถ
this manual page was written by Romain Beauxis <toots@rastageeks.org>, for the Debian project (but may be used by others).
okay that's the whole page bestie, go forth and wiimote ๐ this was the General Commands Manual entry for wminput, dated janvier 18, 2007 โ iconic, timeless, no notes. bye pookie! ๐โจ๐ฆ
๐ฆ where this page comes from
- debian bookworm: wminput 0.6.91-4+b1
- debian trixie: wminput 0.6.91-11
- ubuntu jammy: wminput 0.6.91-2ubuntu1
- ubuntu noble: wminput 0.6.91-7.1build2
- ubuntu questing: wminput 0.6.91-11
- ubuntu resolute: wminput 0.6.91-12build1
- ubuntu stonking: wminput 0.6.91-12build1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms