Keypress functions.
More...
Go to the source code of this file.
|
enum | E_FunctionGroup {
UK_KGRP_COLOURS,
UK_KGRP_ARROWS,
UK_KGRP_ARRS_DIGITS,
UK_KGRP_COLS_ARROWS,
UK_KGRP_COLS_ARRS_DIGITS,
UK_KGRP_COLS_ARRS_DGTS_PVR,
NZ_KGRP_COLOURS,
NZ_KGRP_COLS_ARRS_DIGITS,
NZ_KGRP_COLS_ARROWS,
OZ_KGRP_COLOURS,
OZ_KGRP_COLS_ARRS_DIGITS,
OZ_KGRP_COLS_ARROWS
} |
|
|
void | MHEG5setInputEventRegister (MHEG5Int inputEventRegister) |
| Change the input event register. This indicates which keypresses the MHEG-5 engine requires to be passed. See UK 1.05 profile section 3.6 for a description of which keypresses must be passed to MHEG-5 for the different input event register values. These values are likely to change for UK1.06 profile. More...
|
|
BOOLEAN | MHEG5_IsKeyNeeded (E_MHEG5_KEY keyPress) |
| Enquire from MHEG5 engine about whether a key is needed, without actually passing the key to it. More...
|
|
void | MHEG5userInputEvent (S_KeyPressEvent *params) |
| Process the UserInput from the system. According to the current profile and the UserInputRegister of the current screen the UserInput is processed. MHEG5mouseMoveEvent. More...
|
|
MHEG5Bool | MHEG5IsInputMaskSupported (MHEG5String query_mask) |
| Tell whether the set of keys indicated by the input mask is supported by the receiver (this means that every key in the mask is supported). More...
|
|
void | MHEG5setInputEventMask (MHEG5String *inputEventMask) |
| Change the input mask. This indicates which keypresses the MHEG-5 engine requires to be passed. More...
|
|
BOOLEAN | MHEG5_NotifyKeyPress (E_MHEG5_KEY key) |
| Notify MHEG5 engine of a key press. If FALSE is returned, the external application may use the key. More...
|
|
void | MHEG5PromotionalLinkControl (BOOLEAN isEnabled) |
|
BOOLEAN | MHEG5_IsPromotionalLinkingEnabled (void) |
| This function is relevant to PVR products that support NativeApplicationExtension for broadcast-triggered native applications, The returned state indicates whether MHEG group 3 keys (CANCEL, RED, GREEN, YELLOW, BLUE, TEXT) may be intercepted by the external application for promotional linking. Only when the state is set to TRUE, can group 3 keys be used for broadcast-triggered native application. If the key is not consumed for this purpose, then it must be presented to MHEG5_NotifyKeyPress(), as normal. More...
|
|
void | MHEG5_KeySupportDisabled (E_MHEG5_KEY key) |
| Inform MHEG5 engine that key is not supported by the platform or product. By default MHEG5 engine assumes all keys are supported. Call this function after MHEG5_Open(). More...
|
|
void | MHEG5_KeySupportEnabled (E_MHEG5_KEY key) |
| Key press support is enabled. May be called after the key has been disabled by MHEG5_KeySupportDisabled() More...
|
|
Keypress functions.
- Date
- 20/12/2012
- Author
- Adam Sturtridge
Definition in file mh5keypress.c.
#define INCLUDE_AU_PROFILE |
#define INCLUDE_NZ_PROFILE |
Enumerator |
---|
UK_KGRP_COLOURS |
|
UK_KGRP_ARROWS |
|
UK_KGRP_ARRS_DIGITS |
|
UK_KGRP_COLS_ARROWS |
|
UK_KGRP_COLS_ARRS_DIGITS |
|
UK_KGRP_COLS_ARRS_DGTS_PVR |
|
NZ_KGRP_COLOURS |
|
NZ_KGRP_COLS_ARRS_DIGITS |
|
NZ_KGRP_COLS_ARROWS |
|
OZ_KGRP_COLOURS |
|
OZ_KGRP_COLS_ARRS_DIGITS |
|
OZ_KGRP_COLS_ARROWS |
|
Definition at line 59 of file mh5keypress.c.
Enquire from MHEG5 engine about whether a key is needed, without actually passing the key to it.
- Parameters
-
- Returns
- TRUE - MHEG5 is interested in key press
Definition at line 470 of file mh5keypress.c.
BOOLEAN MHEG5_IsPromotionalLinkingEnabled |
( |
void |
| ) |
|
This function is relevant to PVR products that support NativeApplicationExtension for broadcast-triggered native applications, The returned state indicates whether MHEG group 3 keys (CANCEL, RED, GREEN, YELLOW, BLUE, TEXT) may be intercepted by the external application for promotional linking. Only when the state is set to TRUE, can group 3 keys be used for broadcast-triggered native application. If the key is not consumed for this purpose, then it must be presented to MHEG5_NotifyKeyPress(), as normal.
- Returns
- TRUE - Promotional linking is allowed FALSE - disable promotional linking.
Definition at line 1269 of file mh5keypress.c.
Inform MHEG5 engine that key is not supported by the platform or product. By default MHEG5 engine assumes all keys are supported. Call this function after MHEG5_Open().
- Parameters
-
Definition at line 1280 of file mh5keypress.c.
Notify MHEG5 engine of a key press. If FALSE is returned, the external application may use the key.
- Parameters
-
- Returns
- TRUE - key press was consumed
Definition at line 1214 of file mh5keypress.c.
Tell whether the set of keys indicated by the input mask is supported by the receiver (this means that every key in the mask is supported).
- Parameters
-
query_mask | The input key mask to check |
- Returns
- TRUE if the input key mask is supported, FALSE otherwise
Definition at line 1076 of file mh5keypress.c.
void MHEG5PromotionalLinkControl |
( |
BOOLEAN |
isEnabled | ) |
|
void MHEG5setInputEventMask |
( |
MHEG5String * |
inputEventMask | ) |
|
Change the input mask. This indicates which keypresses the MHEG-5 engine requires to be passed.
- Parameters
-
inputMask | New input mask. The input mask is only valid if the input event register is 0. |
- Returns
- None.
Definition at line 1146 of file mh5keypress.c.
void MHEG5setInputEventRegister |
( |
MHEG5Int |
inputEventRegister | ) |
|
Change the input event register. This indicates which keypresses the MHEG-5 engine requires to be passed. See UK 1.05 profile section 3.6 for a description of which keypresses must be passed to MHEG-5 for the different input event register values. These values are likely to change for UK1.06 profile.
- Parameters
-
inputEventRegister | New input event register value. 0 indicates that there is no scene currently running. |
- Returns
- None.
Definition at line 320 of file mh5keypress.c.
Process the UserInput from the system. According to the current profile and the UserInputRegister of the current screen the UserInput is processed. MHEG5mouseMoveEvent.
- Parameters
-
- Returns
- None.
Definition at line 507 of file mh5keypress.c.