[o-info] powermate ? what is the .evrouterrc file

From: Paul Kraft (haresear68@yahoo.com)
Date: Mon Feb 26 2007 - 22:49:53 CST


Hi Jesper,
 I build the evrouter and figured out the powermate is connected to event4, 
 now Morten's notes from April 30, 2005 are below. Is the .evrouterrc file similar to a .cshrc (or .bashrc in my case) file and do I need to put the stuff below in my /root/ and also in my /home/kraft/ where I operate "O" from? 
             Also I see there is an event3 that should be changed to event4, but how about the "*event2" stuff? Currently event2 is mapped to my keyboard? 
 Paul
 
 
Here is the .evrouterrc file you need in your root to implement this
functionality. You may need to change the device names. Use "evrouter
--dump /dev/input/event*" to figure out what device the PowerMate
uses... it depends on what USB port it is plugged into.


----- 8< ---- snip ----
Window "O_Linux"
"Griffin PowerMate" "/dev/input/event3" any rel/7/1 "XKey/Right"
"Griffin PowerMate" "/dev/input/event3" any rel/7/-1 "XKey/Left"
"Logitech USB Receiver" "/dev/input/event2" none rel/8/-1 "XKey/Down"
"Logitech USB Receiver" "/dev/input/event2" none rel/8/1 "XKey/Up"
"Logitech USB Receiver" "/dev/input/event2" none key/276 "XKey/y+e+s+KP_Enter"
"Logitech USB Receiver" "/dev/input/event2" none key/275 "XKey/n+o+KP_Enter"
-----8< ----- snip ----

(The last two lines map a couple of extra buttons on the mouse to "Yes" 
and "No", respectively). Ahhh, it so great! :-)
 
 
 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
_______________________________________________
o-info mailing list (moderated)
o-info@o-info.bioxray.dk
http://o-info.bioxray.dk/mailman/listinfo/o-info



This archive was generated by hypermail 2b29 : Tue Mar 20 2007 - 03:13:39 CST