summaryrefslogtreecommitdiff
path: root/kuwii/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'kuwii/actions.py')
-rw-r--r--kuwii/actions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kuwii/actions.py b/kuwii/actions.py
index 939deba..6bf4298 100644
--- a/kuwii/actions.py
+++ b/kuwii/actions.py
@@ -36,6 +36,9 @@ def key(kuwii, *keylist):
kuwii.bridge.press (keylist)
kuwii.bridge.release (keylist)
+def quit(kuwii, *args):
+ kuwii.wiimote.disconnect()
+
try:
import dbus as dbus_module
session_bus = dbus_module.SessionBus()