FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuKeyboard_ChangeKeypad.c
Go to the documentation of this file.
1
#include <string.h>
2
#include "
FBLib_TMSOSDKeyboard.h
"
3
4
bool
OSDMenuKeyboard_ChangeKeypad
(
tKeyPadMode
mode,
char
keypad[26][4])
5
{
6
bool
result = FALSE;
7
8
TRACEENTER
();
9
10
if
(mode >
KPM_CAPS
&& mode <
KPM_NrModes
)
11
{
12
if
(keypad) memcpy(
Keypad
[mode], keypad, 26 << 2);
13
else
*
Keypad
[mode][0] = 0;
14
15
result = TRUE;
16
}
17
18
TRACEEXIT
();
19
20
return
result;
21
}
FBLib_TMSOSDKeyboard.h
Keypad
char Keypad[KPM_NrModes][26][4]
Definition:
OSDMenuKeyboard_Setup.c:17
OSDMenuKeyboard_ChangeKeypad
bool OSDMenuKeyboard_ChangeKeypad(tKeyPadMode mode, char keypad[26][4])
Definition:
OSDMenuKeyboard_ChangeKeypad.c:4
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_CAPS
@ KPM_CAPS
Definition:
libFireBird.h:2977
TMSOSDKeyboard
OSDMenuKeyboard_ChangeKeypad.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3