1WMINPUT(1)                  General Commands Manual                 WMINPUT(1)
2
3
4

NAME

6       wminput - an event driver for the wiimote
7

SYNOPSIS

9       wminput [options]
10

DESCRIPTION

12       This manual page documents briefly the wminput command.
13
14       wminput  is  a  program  that provides an event driver for the wiimote,
15       supporting all buttons (except Power) and pointer tracking, and featur‐
16       ing a tracking algorithm plugin architecture.
17
18       Your  kernel  must  be configured with uinput support (INPUT_UINPUT, or
19       Device Drivers/Input Device  Support/Miscellaneous  Drivers/User  Level
20       Driver Support under menuconfig).  Compile into the kernel or as a mod‐
21       ule.   See  http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually  for
22       information  on kernel compilation.  By default, some (most? all?) udev
23       configurations set up a uinput  device  file  readable  only  by  root.
24       Using  wminput as a user other than root requires configuration udev to
25       change the permissions on uinput.  Place the following line in  a  file
26       in  /etc/udev/rules.d  (see  the  documentation for your distro for the
27       recommended file for local rules) to allow anyone on the system to  use
28       uinput:
29
30       KERNEL=="uinput", MODE="0666"
31
32       A more secure method uses the following line to allow anyone in <group>
33       to use wminput, and adds only the desired users to <group>:
34
35       KERNEL=="uinput", GROUP="<group>"
36
37       A uinput group can be created specifically for this purpose, or another
38       existing group such as wheel can be used.
39
40       See  usr/share/doc/wminput/wminput.conf.sample  for  an example wminput
41       configuration file.  Copy this file to ~/.CWiid/wminput.conf and change
42       as desired.
43
44       Getting X to recognize non-standard key symbols, and mapping actions to
45       those symbols, is not automatic.  An excellent tutorial at  http://gen
46       too-wiki.com/HOWTO_Use_Multimedia_Keys  can  help  you set this up.  An
47       overview of the process (see the HOWTO for more information):
48       1.Edit ~/.CWiid/wminput.conf
49       2.Use xev, wminput, and your wiimote to find out if the key symbols are
50       already mapped, and find the key codes if they are not.
51       3.If  the  codes  are  not  mapped  to  the  appropriate  symbols, edit
52       ~/.Xmodmap, and use xmodmap to map them.  (A copy of my  ~/.Xmodmap  is
53       included in CWiid/doc)
54       4.Use  xbindkeys  or  a  window manager-specific utility to map the key
55       symbols to specific actions.
56
57       wminput   tracking   plugins   are,   by    default,    installed    to
58       /usr/lib/CWiid/plugins.   Plugins  may also be placed in ~/.CWiid/plug‐
59       ins, and plugins placed here will take precedence.
60
61

OPTIONS

63       -h     Show summary of options.
64
65       -v, --version
66              Output version information and exit.
67
68       -c, --config [file]
69              Choose config file to use.
70
71       -d, --daemon
72              Implies -q, -r, and -w.
73
74       -q, --quiet
75              Reduce output to errors
76
77       -r, --reconnect [wait]
78              Automatically try reconnect after wiimote disconnect.
79
80       -w, --wait
81              Wait indefinitely for wiimote to connect.
82
83       bdaddr Specify the wiimote  bluetooth  address.  The  bluetooth  device
84              address (bdaddr) of the wiimote can be specified on the command-
85              line, or through the WIIMOTE_BDADDR environment variable, in the
86              that  order  of  precedence.   If  neither  is  given, the first
87              wiimote found by hci_inquiry will be used.
88
89

SEE ALSO

91       wmgui(1),
92

AUTHOR

94       wminput was written by L. Donnie Smith <donnie.smith@gatech.edu>
95
96       This manual page was written by Romain Beauxis  <toots@rastageeks.org>,
97       for the Debian project (but may be used by others).
98
99
100
101                               janvier 18, 2007                     WMINPUT(1)
Impressum