TAP_GenerateEvent
Topfield Documentation
void TAP_GenerateEvent( word evtCode, dword param1, dword param2 )
It makes an event such as input from the RCU.
- evtCode : event (only the EVT_KEY is supported now)
- param1, param2 : The event value
Additional Documentation
This function behaves rather strangely on the TF5800 due to the mappings applied to keys to support the UK's remote layout. For example, to generate an RKEY_Exit keypress, RKEY_AudioTrk must be sent.
Some key codes have a special function
name from key.h | hex key code | function |
---|
RKEY_Cmd_0 | 0x10027 | test colour bars |
RKEY_Cmd_1 | 0x10028 | blank screen |
RKEY_Cmd_2 | 0x10029 | ? |
RKEY_Cmd_3 | 0x1002a | all channels go blank |
RKEY_Cmd_4 | 0x1002b | all channels go blank |
RKEY_Cmd_5 | 0x1002c | ? |
RKEY_Cmd_6 | 0x1002d | jumps to the beginning of the timeshift/record buffer |
RKEY_Cmd_7 | 0x1002e | ? |
RKEY_Cmd_8 | 0x1002f | ? |
RKEY_Cmd_9 | 0x10030 | ? |
RKEY_Cmd_a | 0x10031 | overwrites the first 1024 bytes of the disk with 0xff |
RKEY_Cmd_b | 0x10032 | test bars - black and white split half screen |
RKEY_Cmd_c | 0x10033 | test bars - black and red split half screen |
RKEY_Cmd_d | 0x10034 | test bars - black and green split half screen |
RKEY_Cmd_e | 0x10035 | test bars - black and blue split half screen |
RKEY_Cmd_f | 0x10036 | FACTORY RESET |
FKEY_AVMenu | 0xff001 | a/v output setting menu |
FKEY_Sleep | 0xff002 | Sleep toggle |
FKEY_SoundMenu | 0xff003 | Sound track menu |
FKEY_FavMenu | 0xff004 | Favourites menu |
FKEY_SubtitleMenu | 0xff005 | Subtitle track menu |
FKEY_0006 | 0xff006 | ? |
FKEY_PIPBackward | 0xff007 | Move pip backwards |
FKEY_PIPForward | 0xff008 | Move pip |
FKEY_SetBookmark | 0xff009 | Set bookmark |
FKEY_GotoBookmark | 0xff00a | Goto bookmark |