Author: duncan
Date: Wed Oct 18 22:35:48 2006
New Revision: 8413
Modified:
branches/rel-1/freevo/src/evdev.py
Log:
Change to take a parameter instead of having a hard coded value
Modified: branches/rel-1/freevo/src/evdev.py
==============================================================================
--- branches/rel-1/freevo/src/evdev.py (original)
+++ branches/rel-1/freevo/src/evdev.py Wed Oct 18 22:35:48 2006
@@ -28,6 +28,7 @@
#
# -----------------------------------------------------------------------
+import sys
import os
import re
from fcntl import ioctl
@@ -322,7 +323,7 @@
from evfallback import _types, _events, _ids, _buses
if __name__ == "__main__":
- e = evdev("/dev/input/event1", True)
+ e = evdev(sys.argv[1], True)
e.print_info()
e.print_events()
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog