FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuKeyboard_SetKeypadMode.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDKeyboard.h
"
2
3
bool
OSDMenuKeyboard_SetKeypadMode
(
tKeyPadMode
mode)
4
{
5
bool
result = FALSE;
6
7
TRACEENTER
();
8
9
if
((
int
) mode >=
KPM_Standard
&& mode <
KPM_NrModes
&& *
Keypad
[mode][0] != 0)
10
{
11
KeyPadMode
= mode;
12
result = TRUE;
13
}
14
15
TRACEEXIT
();
16
17
return
result;
18
}
FBLib_TMSOSDKeyboard.h
Keypad
char Keypad[KPM_NrModes][26][4]
Definition:
OSDMenuKeyboard_Setup.c:17
KeyPadMode
tKeyPadMode KeyPadMode
Definition:
OSDMenuKeyboard_Setup.c:30
OSDMenuKeyboard_SetKeypadMode
bool OSDMenuKeyboard_SetKeypadMode(tKeyPadMode mode)
Definition:
OSDMenuKeyboard_SetKeypadMode.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tKeyPadMode
tKeyPadMode
Definition:
libFireBird.h:2975
KPM_NrModes
@ KPM_NrModes
Definition:
libFireBird.h:2983
KPM_Standard
@ KPM_Standard
Definition:
libFireBird.h:2976
TMSOSDKeyboard
OSDMenuKeyboard_SetKeypadMode.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3