summaryrefslogtreecommitdiffstats
path: root/tools/site_compare/drivers/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/site_compare/drivers/__init__.py')
-rw-r--r--tools/site_compare/drivers/__init__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/site_compare/drivers/__init__.py b/tools/site_compare/drivers/__init__.py
new file mode 100644
index 0000000..befc1353
--- /dev/null
+++ b/tools/site_compare/drivers/__init__.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python2.4
+#
+# Copyright 2007 Google Inc. All Rights Reserved.
+
+"""Imports a set of drivers appropriate to the current OS."""
+
+__author__ = 'jhaas@google.com (Jonathan Haas)'
+
+import sys
+
+platform_dir = sys.platform
+
+keyboard = __import__(platform_dir+".keyboard", globals(), locals(), [''])
+mouse = __import__(platform_dir+".mouse", globals(), locals(), [''])
+windowing = __import__(platform_dir+".windowing", globals(), locals(), [''])