What have I done wrong? It works with the accelerometer as a mouse perfectly, I just can't get the infrared to work. Here's what I get when I type in the line:
deemar@Chugger:~$ gksudo wminput -c ir_ptr 00:17:AB:23:A3:49
gksudo: invalid option -- 'c'
GKsu version 2.0.0
Usage: gksudo [-u <user>] [options] <command>
Print information on the screen that might be
useful for diagnosing and/or solving problems.
--user <user>, -u <user>
Call <command> as the specified user.
Disable the "locking" of the keyboard, mouse,
and focus done by the program when asking for
Ask the user if they want to have their keyboard
and mouse grabbed before doing so.
Preserve the current environments, does not set $HOME
nor $PATH, for example.
Make this a login shell. Beware this may cause
problems with the Xauthority magic. Run xhost
to allow the target user to open windows on your
--description <description|file>, -D <description|file>
Provide a description name for the command to
be used in the default message, making it nicer.
You can also provide the absolute path for a
.desktop file. The Name key for will be used in
--message <message>, -m <message>
Replace the standard message shown to ask for
password for the argument passed to the option.
Only use this if --description does not suffice.
Ask gksu to print the password to stdout, just
like ssh-askpass. Useful for scripts where the
program accepts receiving the password on
Make GKSu use sudo instead of su, as if it had been
run as "gksudo".
Make GKSu use su, instead of using libgksu's