summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornags <nags@nags-desktop.(none)>2009-08-25 20:46:59 -0700
committernags <nags@nags-desktop.(none)>2009-08-25 20:46:59 -0700
commit98c54dcafee1830923dbb708d2be37ba885d438e (patch)
treea1e347335fdf7460d82cae110a36dc64b17e6f7e
parent0331767f6bc7c119c883aeb2fc87a418f2916aec (diff)
Updated doc
-rw-r--r--doc/pyldtp-doc.h8
-rw-r--r--python/ldtplib/ldtplibutils.py4
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/pyldtp-doc.h b/doc/pyldtp-doc.h
index 57e76f3..d884ced 100644
--- a/doc/pyldtp-doc.h
+++ b/doc/pyldtp-doc.h
@@ -6368,6 +6368,14 @@
*
* rel - relative motion
*
+ * b1p - Button 1 press
+ *
+ * b1r - Button 1 release
+ *
+ * b3p - Button 3 press
+ *
+ * b3r - Button 3 release
+ *
* \section ImplementationDetails
*
* Used SPI_generateMouseEvent to generate the mouse events.
diff --git a/python/ldtplib/ldtplibutils.py b/python/ldtplib/ldtplibutils.py
index 5ff8fe6..ac523af 100644
--- a/python/ldtplib/ldtplibutils.py
+++ b/python/ldtplib/ldtplibutils.py
@@ -284,7 +284,7 @@ class state:
SUPPORTS_AUTOCOMPLETION - Accessibility.STATE_SUPPORTS_AUTOCOMPLETION
SELECTABLE_TEXT - Accessibility.STATE_SELECTABLE_TEXT
IS_DEFAULT - Accessibility.STATE_IS_DEFAULT
- VISISTED - Accessibility.STATE_VISITED
+ VISITED - Accessibility.STATE_VISITED
"""
INVALID = Accessibility.STATE_INVALID
ACTIVE = Accessibility.STATE_ACTIVE
@@ -336,7 +336,7 @@ class state:
SUPPORTS_AUTOCOMPLETION = Accessibility.STATE_SUPPORTS_AUTOCOMPLETION + __addValue
SELECTABLE_TEXT = Accessibility.STATE_SELECTABLE_TEXT + __addValue
IS_DEFAULT = Accessibility.STATE_IS_DEFAULT + __addValue
- VISISTED = Accessibility.STATE_VISITED + __addValue
+ VISITED = Accessibility.STATE_VISITED + __addValue
except:
if _ldtpDebug:
print 'New roles'