[PATCH evemu 1/3] python: remove out-of-date comment
Peter Hutterer
peter.hutterer at who-t.net
Thu Nov 6 15:14:20 PST 2014
This was probably true at some point but it's not anymore now.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
python/evemu/__init__.py | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/python/evemu/__init__.py b/python/evemu/__init__.py
index a389849..363e6ce 100644
--- a/python/evemu/__init__.py
+++ b/python/evemu/__init__.py
@@ -389,17 +389,6 @@ class Device(object):
return bool(result)
def has_event(self, event_type, event_code):
- """
- This method's 'even_type' parameter is expected to mostly take the
- value for EV_ABS (i.e., 0x03), but may on occasion EV_KEY (i.e., 0x01).
- If the former, then the even_code parameter will take the same values
- as the methods above (ABS_*). However, if the latter, then the legal
- values will be BTN_*.
-
- The reason for including the button data, is that buttons are sometimes
- used to simulate gestures for a higher number of touches than are
- possible with just 2-touch hardware.
- """
if type(event_type) == str:
event_type = evemu.event_get_value(event_type)
if type(event_code) == str:
--
2.1.0
More information about the Input-tools
mailing list