mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed learning keys on the PC keyboard (display oscillated)
This commit is contained in:
parent
b668b2d013
commit
36d187f64c
1
HISTORY
1
HISTORY
@ -274,3 +274,4 @@ Video Disk Recorder Revision History
|
|||||||
- The 'SetSystemTime' option in the "Setup" menu is now shown as "yes/no".
|
- The 'SetSystemTime' option in the "Setup" menu is now shown as "yes/no".
|
||||||
- Implemented "internationalization" (see 'i18n.c' for information on how to
|
- Implemented "internationalization" (see 'i18n.c' for information on how to
|
||||||
add new languages).
|
add new languages).
|
||||||
|
- Fixed learning keys on the PC keyboard (display oscillated).
|
||||||
|
4
remote.c
4
remote.c
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Ported to LIRC by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
|
* Ported to LIRC by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
|
||||||
*
|
*
|
||||||
* $Id: remote.c 1.18 2000/10/08 16:49:41 kls Exp $
|
* $Id: remote.c 1.19 2000/11/11 11:22:22 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "remote.h"
|
#include "remote.h"
|
||||||
@ -73,7 +73,7 @@ bool cRcIoKBD::GetCommand(unsigned int *Command, bool *Repeat, bool *Release)
|
|||||||
{
|
{
|
||||||
if (Command) {
|
if (Command) {
|
||||||
*Command = getch();
|
*Command = getch();
|
||||||
return *Command > 0;
|
return int(*Command) > 0;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user