[Python-apps-commits] r4475 - in packages/autokey/trunk/debian (autokey.init changelog)
ffm-guest at users.alioth.debian.org
ffm-guest at users.alioth.debian.org
Fri Jan 8 13:56:26 UTC 2010
Date: Friday, January 8, 2010 @ 13:56:25
Author: ffm-guest
Revision: 4475
New upstream version, updated init.d script.
Modified:
packages/autokey/trunk/debian/autokey.init
packages/autokey/trunk/debian/changelog
Modified: packages/autokey/trunk/debian/autokey.init
===================================================================
--- packages/autokey/trunk/debian/autokey.init 2010-01-08 12:57:56 UTC (rev 4474)
+++ packages/autokey/trunk/debian/autokey.init 2010-01-08 13:56:25 UTC (rev 4475)
@@ -3,8 +3,8 @@
### BEGIN INIT INFO
# Provides: autokey
-# Required-Start:
-# Required-Stop:
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start AutoKey daemon.
@@ -17,6 +17,12 @@
PACKET_STRING = "%s,%s,%s"
+BUTTON_MAP = {
+ "BTN_LEFT" : '1',
+ "BTN_MIDDLE": '2',
+ "BTN_RIGHT" : '3'
+ }
+
class AutoKeyDaemon(daemon.Daemon):
def __init__(self):
@@ -47,8 +53,9 @@
try:
conn, addr = s.accept()
print "Accepted connection"
- except:
+ except Exception, e:
print "Fatal error while accepting connections - daemon shutting down"
+ print str(e)
break
devices = evdev.DeviceGroup(self.get_device_paths())
@@ -78,7 +85,10 @@
elif event.code.startswith("BTN") and event.value == 1:
# Mouse event - only care about button press, not release
code = ''
- button = event.code
+ if event.code in BUTTON_MAP:
+ button = BUTTON_MAP[event.code]
+ else:
+ button = -1
state = event.value
try:
Modified: packages/autokey/trunk/debian/changelog
===================================================================
--- packages/autokey/trunk/debian/changelog 2010-01-08 12:57:56 UTC (rev 4474)
+++ packages/autokey/trunk/debian/changelog 2010-01-08 13:56:25 UTC (rev 4475)
@@ -1,3 +1,19 @@
+autokey (0.61.2-1) unstable; urgency=low
+
+ * New upstream version:
+ - Bring back cut/copy/paste item menu options
+ - Add 'engine' class to scripting framework to enable access to
+ AutoKey internals
+ - Add a configurable user module folder for import into scripts
+ - Enable multiple selection mode in treeview and update all necessary
+ interactions to work correctly
+ - Enable inline renaming of items in treeview, get rid of title and
+ description fields from the various pages
+
+
+
+ -- Luke Faraone <luke at faraone.cc> Fri, 08 Jan 2010 08:52:58 -0500
+
autokey (0.61.0b-1) unstable; urgency=low
* New upstream version:
More information about the Python-apps-commits
mailing list