Import Debian changes 1.9.5.3-8.1

g15daemon (1.9.5.3-8.1) unstable; urgency=low

  * Non-maintainer upload.
  * Send a sync event after key up/down (closes: #567213).
This commit is contained in:
Julien Cristau committed 2010-07-25 11:39:22 +02:00
1 parent 1525a75133
commit 69ac55f577
2 files changed
+21

No files matched your search

+7
View File
@@ -1,3 +1,10 @@
g15daemon (1.9.5.3-8.1) unstable; urgency=low
* Non-maintainer upload.
* Send a sync event after key up/down (closes: #567213).
-- Julien Cristau <jcristau@debian.org> Sun, 25 Jul 2010 11:39:22 +0200
g15daemon (1.9.5.3-8) unstable; urgency=low g15daemon (1.9.5.3-8) unstable; urgency=low
* Put the third argument (modes) on open with O_CREAT (Closes: #559649) * Put the third argument (modes) on open with O_CREAT (Closes: #559649)
+14
View File
@@ -125,6 +125,13 @@ static void g15_uinput_keydown(unsigned char code)
event.value = G15KEY_DOWN; event.value = G15KEY_DOWN;
write (uinp_fd, &event, sizeof(event)); write (uinp_fd, &event, sizeof(event));
memset(&event, 0, sizeof(event));
event.type = EV_SYN;
event.code = SYN_REPORT;
write (uinp_fd, &event, sizeof(event));
} }
static void g15_uinput_keyup(unsigned char code) static void g15_uinput_keyup(unsigned char code)
@@ -137,6 +144,13 @@ static void g15_uinput_keyup(unsigned char code)
event.value = G15KEY_UP; event.value = G15KEY_UP;
write (uinp_fd, &event, sizeof(event)); write (uinp_fd, &event, sizeof(event));
memset(&event, 0, sizeof(event));
event.type = EV_SYN;
event.code = SYN_REPORT;
write (uinp_fd, &event, sizeof(event));
} }
void (*keyup)(unsigned char code) = &g15_uinput_keyup; void (*keyup)(unsigned char code) = &g15_uinput_keyup;