mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added 0x5B to more-byte sequence detection
This commit is contained in:
parent
0676448937
commit
709caf59b2
3
remote.c
3
remote.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: remote.c 1.47 2006/01/08 17:13:18 kls Exp $
|
* $Id: remote.c 1.48 2006/01/15 15:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "remote.h"
|
#include "remote.h"
|
||||||
@ -301,6 +301,7 @@ uint64 cKbdRemote::ReadKeySequence(void)
|
|||||||
k |= key1 & 0xFF;
|
k |= key1 & 0xFF;
|
||||||
switch (key1) {
|
switch (key1) {
|
||||||
case 0x31 ... 0x3F: // more-byte sequence
|
case 0x31 ... 0x3F: // more-byte sequence
|
||||||
|
case 0x5B: // strange, may apparently occur
|
||||||
do {
|
do {
|
||||||
if ((key1 = ReadKey()) < 0)
|
if ((key1 = ReadKey()) < 0)
|
||||||
break; // Sequence ends here
|
break; // Sequence ends here
|
||||||
|
Loading…
Reference in New Issue
Block a user