Hi,
with cvs from 2006-10-04, I have a small problem with keys read
via cinergy-T2 usb IR receiver.
PLAY 207 and NEXT 407 are mapped to the same directfb key PLAY 0xF051
Both numbers (207 & 407) were shown with df_input.
They circeling key (shuffle ?) with keycode 173 does not arrive at all.
The attached patch fixes this for me.
--
Stefan Lucke
Index: linux_input.c
===================================================================
RCS file: /cvs/directfb/DirectFB/inputdrivers/linux_input/linux_input.c,v
retrieving revision 1.50
diff -U 3 -r1.50 linux_input.c
--- linux_input.c 4 Oct 2006 10:04:25 -0000 1.50
+++ linux_input.c 5 Nov 2006 19:15:25 -0000
@@ -209,7 +209,7 @@
/*KEY_ISO,*/ DIKI_UNKNOWN,
/*KEY_CONFIG,*/ DIKS_SETUP,
- /*KEY_HOMEPAGE, KEY_REFRESH,*/ DIKI_UNKNOWN, DIKI_UNKNOWN,
+ /*KEY_HOMEPAGE, KEY_REFRESH,*/ DIKI_UNKNOWN, DIKS_SHUFFLE,
DIKS_EXIT, /*KEY_MOVE,*/ DIKI_UNKNOWN, DIKS_EDITOR,
@@ -279,7 +279,7 @@
DIKS_MP3, DIKS_AUDIO, DIKS_VIDEO, DIKS_DIRECTORY, DIKS_LIST, DIKS_MEMO,
DIKS_CALENDAR, DIKS_RED, DIKS_GREEN, DIKS_YELLOW, DIKS_BLUE,
DIKS_CHANNEL_UP, DIKS_CHANNEL_DOWN, DIKS_FIRST, DIKS_LAST, DIKS_AB,
- DIKS_PLAY, DIKS_RESTART, DIKS_SLOW, DIKS_SHUFFLE, DIKS_FASTFORWARD,
+ DIKS_NEXT, DIKS_RESTART, DIKS_SLOW, DIKS_SHUFFLE, DIKS_FASTFORWARD,
DIKS_PREVIOUS, DIKS_NEXT, DIKS_DIGITS, DIKS_TEEN, DIKS_TWEN, DIKS_BREAK
};
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev