IRREMOTE.INI Driver File Contents (IR32.exe)

Driver Package File Name: IR32.exe
File Size: 457.6 KB

; FGR 10/07/2010 Support firmware V2; 32-bit IR application
; FILEVERSION 2,68,28280,0 
; includes support for both Classic black, Silver PVR remote, and new extended Remote
; (extended remote has Music/Videos/Pictures and seperate NAV buttons among others)
; requires ir32.exe, irremote.dll 2.45.22230 or later
; Supports Key Codes 64-127 via RC5 'field' bit
; support latest IR HW on WinTV-USB2, and "IR Blaster" RC5/RC6 receiver
; adds support for retail apps to work with MS MCE "beanbag" Remote on non-MCE systems
; adds support for HCWHID custom interface
; adds support for MCE2005/Vista application
; adds support for WinTV6 app
; fix support for WinTV6 - Findwnd(WinTV_32,wintv) vs Findwnd(WinTV_32,wintv32)
; add support for GT6000 IR
; Add support for 885/887 based cards; update some MCE remote mappings
; Add support for Sceneo
; Add support for IRCLASS based IR capture (Wiltshire/Halesite/Medford2/Kingston2)
; Allow use of MCE remotes by default (on HW that supports RC6)
; Updated support for WinTV7
; Add support for Cidana CMMB app
; Add support for new HCW creditcard remote (initial, untested)
; Add support for PCTV Type-B/E remotes (initial, untested)
; add support for Mirics IR
; add support for latest Nova-S2 USB

[Remote]
RepeatDelay=3
;Beep = 1           ; Sound for MessageBeep() to make for each Remote Keystroke
;PowerDownSound = 0 ; Sound for MessageBeep() to make when powering down
MenuLoad=1	    ; use tray as app launcher
GoMenu=0

; map RC5 System Codes to button "name" lookup table
; Note: 0 (classic remote) conflicts with standard "philips" TV remotes
[SystemCode]
0=HCWClassic
28=HCWPVR2
29=HCWPVR2
30=HCWPVR2
31=HCWPVR
7=PCTV
; "IR Blaster" and 885/887 HW can support RC6; this is for the MS MCE remote table if desired
0x800f=MSMCE
; This supports using the MCE "Beanbag" remote with retail apps on non-MCE systems
0xffbc=MSMCERCV
0x2040=HCWPVR2

; these tables map actual IR scan codes to button "names" on a per system code basis
; Undefined values get the name "CODExx" by default (mostly for debugging)
; Real buttons on a remote should always get a real button name
; Note: some button "names" can only be generated by certain remotes
 
; Also, note that seemingly similar buttons may have unique names on different remotes
; This is to allow treating them differently based on the remote, and the
; "paradigm" of how they are used.  For example; on old remotes there is a seperate TV
; button, but no GRNPOWER button.  So, on old remotes we treat TV as on/off, where  on PVR
; remote we use the GoMenu function (or RED as On), and the GRNPOWER as Off.

[HCWClassic]
; need to differentiate old '0' from newer remotes; Old 0 was also labled "pause"
0=OLD0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
12=RADIO
13=MUTE
15=TV
16=VOLUP
17=VOLDOWN
30=RESERVED
32=CHNLUP
33=CHNLDOWN
34=SOURCE
38=MINIMIZE
46=FULLSCREEN

[HCWPVR]
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
46=GREEN
56=YELLOW
11=RED
41=BLUE
12=FUNC
13=MENU
15=MUTE
16=VOLUP
17=VOLDOWN
32=CHNLUP
33=CHNLDOWN
61=GRNPOWER
31=BACK
37=OK
59=GO
60=FULLSCREEN
55=REC
54=STOP
48=PAUSE
53=PLAY
50=REWIND
52=FASTFWD
30=SKIPFWD
36=SKIPREV

[HCWPVR2]
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
46=GREEN
56=YELLOW
11=RED
41=BLUE
13=MENU
15=MUTE
16=VOLUP
17=VOLDOWN
32=CHNLUP
33=CHNLDOWN
61=GRNPOWER
31=BACK
37=OK
59=GO
55=REC
54=STOP
48=PAUSE
53=PLAY
50=REWIND
52=FASTFWD
30=SKIPFWD
36=SKIPREV
;new to hcwpvr2
12=RADIO
28=TVNEW
24=VIDEOS
25=MUSIC
26=PICTURES
27=GUIDE
22=NAVLEFT
23=NAVRIGHT
20=NAVUP
21=NAVDOWN
10=TEXT
14=SUBCC
18=CHNLPREV
;new on 12/09 Credit card
51=PAUSEPLAY
60=FULLSCREEN
34=MCESTAR
35=MCEPOUND

[PCTV]
39=0
15=1
21=2
16=3
24=4
27=5
30=6
17=7
33=8
18=9

0=MUTE
;this is the funny graphic star
1=MENU
57=GRNPOWER

3=VOLUP
9=VOLDOWN
6=CHNLUP
12=CHNLDOWN
5=OK
;these are overlayed with vol/ch +/-, therefore would have to know app mode
;=NAVLEFT
;=NAVRIGHT
;=NAVUP
;=NAVDOWN

54=REC
60=STOP
48=PAUSEPLAY
45=REWIND
51=FASTFWD

42=TEXT
36=FULLSCREEN
63=MCEINFO


[MSMCE]
12=GRNPOWER
23=REC
25=STOP
24=PAUSE
22=PLAY
21=REWIND
20=FASTFWD
26=SKIPFWD
27=SKIPREV
13=MCEJEWEL
35=BACK
38=GUIDE
32=NAVLEFT
33=NAVRIGHT
30=NAVUP
31=NAVDOWN
34=OK
37=LIVETV
74=VIDEOS
71=MUSIC
73=PICTURES
80=RADIO
70=TVNEW
14=MUTE
16=VOLUP
17=VOLDOWN
18=CHNLUP
19=CHNLDOWN
36=DVDMENU
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
10=CLEAR
11=ENTER
78=PRINT
72=RECORDEDTV
28=MCEPOUND
29=MCESTAR
128=MCE128
129=MCE129

90=TEXT
91=RED
92=GREEN
93=YELLOW
94=BLUE
15=MCEINFO


; by default the MS Beanbag sends most keys as either keyboard chars or APP_COMMANDS already
; so we only handle the "special" buttons
[MSMCERCV]
12=GRNPOWER
;23=REC
;25=STOP
;24=PAUSE
;22=PLAY
;21=REWIND
;20=FASTFWD
;26=SKIPFWD
;27=SKIPREV
13=MCEJEWEL
;35=BACK
38=GUIDE
;32=NAVLEFT
;33=NAVRIGHT
;30=NAVUP
;31=NAVDOWN
;34=OK
37=LIVETV
74=VIDEOS
71=MUSIC
73=PICTURES
80=RADIO
70=TVNEW
;14=MUTE
;16=VOLUP
;17=VOLDOWN
;18=CHNLUP
;19=CHNLDOWN
36=DVDMENU
;0=0
;1=1
;2=2
;3=3
;4=4
;5=5
;6=6
;7=7
;8=8
;9=9
;10=CLEAR
;11=ENTER
78=PRINT
72=RECORDEDTV
28=MCEPOUND
29=MCESTAR
126=MCE128
127=MCE129
90=TEXT
91=RED
92=GREEN
93=YELLOW
94=BLUE


; First item in this section IS always the default app if no others found
[Applications]
Default=
Media Center=
IR Remote=
Radio=
;Win/TV+=
;Win/TV=
WinTV32=
WinTV7=
WinTV=
WinTV32(1)=
WinTV32(2)=
WinTV32(3)=
WinTV32(4)=
WinTV32(5)=
WinTV32(8)=
WinTV32(9)=
WinTV32(10)=
WinTV32(11)=
WinTV32(12)=
FullScreen=
PVRFullScreen=
*task*=
;*suspend*=
EPGdemo=
VTplus=
Create and Receive=
Debug.txt=
hcwGDisplayWindow=
hcwGo=
Windows Media Player=
ActiveMovie Window=
Dell Media=
PowerCinema=
ShowShifter=
Sceneo - TVcentral Core=
;Cidana=
CMMB Player=
Nero Home=

[Default]
OLD0=
0=
1=
2=
3=
4=
5=
6=
7=
8=
9=
RADIO={close(wintv2k.exe)}{sleep(750)}{run(radio.exe)}	
TV={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
TVNEW={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
SOURCE={switch(*task*)}{shift}{tab}		
MINIMIZE=				
FULLSCREEN={alt}{space}x					
RESERVED=	

; close current active window; disabled for now
;GRNPOWER={sys(0xF060)}
GRNPOWER={run(C:\windows\ehome\ehshell.exe)}
MCEJEWEL={run(C:\windows\ehome\ehshell.exe)}
;GUIDE={run(epgdemo.exe)}
GO={gomenu()}{findwnd(,IR Remote)}{fgnwnd()}
;GO={run(hcwGo\hcwGo.exe)}
MENU={switch(*task*)}{shift}{tab}		

;;these 3 buttons are not offical yet
RED={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
GREEN={close(wintv2k.exe)}{sleep(750)}{run(radio.exe)}
;;YELLOW={close(radio.exe)}{sleep(750)}{run(..\vtplus\vtplus32.exe)}
TEXT={close(radio.exe)}{sleep(750)}{run(..\vtplus\vtplus32.exe)}

;;default mappings to drive apps that use APPCOMMANDS on Win2000/XP
MUTE={app(0x80000)}
CHNLUP={app(0x330000)}
CHNLDOWN={app(0x340000)}
VOLUP={app(0xa0000)}
VOLDOWN={app(0x90000)}
REC={app(0x300000)}
STOP={app(0xd0000)}
PAUSE={app(0x2f0000)}
PLAY={app(0x2e0000)}
PAUSEPLAY={app(0xe0000)}
REWIND={app(0x320000)}
FASTFWD={app(0x310000)}
SKIPFWD={app(0xb0000)}
SKIPREV={app(0xc0000)}


; built-in IR gomenu()
[IR Remote]
OK={enter}
VOLUP={tab}
VOLDOWN={shift}{tab}
BACK={sys(0xF060)}
CHNLUP={shift}{tab}
CHNLDOWN={tab}
FULLSCREEN={enter}
SOURCE={enter}
OK={enter}
GO={enter}
GRNPOWER={esc}
NAVUP={shift}{tab}
NAVDOWN={tab}
NAVLEFT={shift}{tab}
NAVRIGHT={tab}


;[Cidana]
[CMMB Player]
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9

CHNLUP={PGUP}
CHNLDOWN={PGDN}
VOLUP={CTRL}{RIGHT}
VOLDOWN={CTRL}{LEFT}
MUTE={CTRL}m
;MENU={CTRL}s ;for big remote
MENU={F2}
OK={enter}
NAVUP={UP}
NAVDOWN={DOWN}
NAVLEFT={shift}{tab}
NAVRIGHT={tab}

PLAY={space}
PAUSE={space}
STOP={CTRL}c
BACK={esc}
REC={CTRL}r
GUIDE={F4}
TEXT={F4}

; Go to last channel
CHNLPREV={F5}
; Full screen
TVNEW={CTRL}f
FULLSCREEN={CTRL}f
; Open file
VIDEOS={CTRL}o
; Snapshot
PICTURES={CTRL}{enter}
; always on top
RED={CTRL}t
; Change skin
GREEN={F2}

GRNPOWER={sys(0xF060)}

;SKIPFWD={RIGHT}
;SKIPREV={LEFT}
SKIPFWD={LEFT}
SKIPREV={RIGHT}


; external 10ft UI
[hcwGo]
CHNLUP={UP}
CHNLDOWN={DOWN}
VOLUP={RIGHT}
VOLDOWN={LEFT}
FULLSCREEN={enter}
OK={enter}
BACK={BACK}
GRNPOWER={esc}
GO={space}
GREEN={F2}
RED={F3}
NAVUP={UP}
NAVDOWN={DOWN}
NAVLEFT={LEFT}
NAVRIGHT={RIGHT}


[hcwGDisplayWindow]
CHNLUP={home}
CHNLDOWN={end}
VOLUP={pgdn}
VOLDOWN={pgup}
FULLSCREEN={enter}
OK={enter}
BACK={BACK}
GRNPOWER={esc}
GO={space}
NAVUP={home}
NAVDOWN={end}
NAVLEFT={pgup}
NAVRIGHT={pgdn}


[Media Center]
;Exit app
GRNPOWER={ALT}{F4}

;Main MCE menu
GO={ALT}{HOME}
MCEJEWEL={ALT}{HOME}

TV={CTRL}t
TVNEW={CTRL}t
VIDEOS={CTRL}e
MUSIC={CTRL}m
PICTURES={CTRL}i
GUIDE={CTRL}g
MCEINFO={CTRL}g
RADIO={CTRL}a
BACK={backspace}
MENU={apps}

NAVDOWN={down}
NAVLEFT={left}
NAVRIGHT={right}
NAVUP={up}
OK={enter}

REC={Ctrl}r
PLAY={Ctrl}{shift}p
PAUSE={Ctrl}p
STOP={Ctrl}{shift}s
REWIND={Ctrl}{shift}b
FASTFWD={Ctrl}{shift}f
SKIPREV={Ctrl}b
SKIPFWD={Ctrl}f

MUTE={F8}
VOLUP={F10}
VOLDOWN={F9}
CHNLUP={pgup}
CHNLDOWN={pgdn}
;toggle full screen
CHNLPREV={alt}{enter}
FULLSCREEN={alt}{enter}

0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
;Change the DVD subtitles selection
TEXT={ctrl}u
;Closed Captions On/Off
SUBCC={ctrl}{shift}c

;DVD Menu
GREEN={ctrl}{shift}m
;Recorded TV
RED={ctrl}{shift}t
;Change the DVD audio selection
YELLOW={ctrl}{shift}a
;toggle full screen
BLUE={alt}{enter}



[ShowShifter - The Home Entertainment Manager]
GRNPOWER={alt}{f4}{sleep(1000)}6{enter}
CHNLUP={ctrl}{up}
CHNLDOWN={ctrl}{down}
VOLUP={ctrl}{right}
VOLDOWN={ctrl}{left}
OK={enter}
MENU={ctrl}g
MUTE={alt}m
BACK={esc}
GO={ctrl}{home}
CHNLPREV={ctrl}g
REC={alt}r
STOP={alt}s
PAUSE={alt}a
PLAY={alt}p
REWIND={alt}{shift}f
FASTFWD={alt}f
SKIPFWD={alt}n
SKIPREV={alt}{shift}n
TV={ctrl}{f1}
TVNEW={ctrl}{f1}
VIDEOS={ctrl}{f2}
MUSIC={ctrl}{f4}
RADIO={ctrl}{f6}
GUIDE={ctrl}{f7}
PICTURES={ctrl}{f8}
NAVUP={up}
NAVDOWN={down}
NAVLEFT={left}
NAVRIGHT={right}
SUBCC={ctrl}n
TEXT={ctrl}n
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
RED={F6} 
GREEN={Ctrl}-
YELLOW={Ctrl}+


[Nero Home]
0={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,0, 0)}
OLD0={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,0, 0)}
1={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,1, 0)}
2={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,2, 0)}
3={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,3, 0)}
4={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,4, 0)}
5={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,5, 0)}
6={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,6, 0)}
7={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,7, 0)}
8={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,10, 0)}
9={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,11, 0)}
PLAY={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,12, 0)}
STOP={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,13, 0)}
PAUSE={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,14, 0)}
REC={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,15, 0)}
REWIND={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,17, 0)}
FASTFWD={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,16, 0)}
SKIPFWD={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,18, 0)}
SKIPREV={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,19, 0)}
NAVLEFT={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,22, 0)}
NAVRIGHT={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,23, 0)}
NAVUP={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,20, 0)}
NAVDOWN={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,21, 0)}
OK={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,24, 0)}
VOLUP={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,25, 0)}
VOLDOWN={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,26, 0)}
MUTE={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,27, 0)}
CHNLUP={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,31, 0)}
CHNLDOWN={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,32, 0)}
CHNLPREV={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,50, 0)}
GO={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,35, 0)}
GRNPOWER={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,34, 0)}
TV={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,38, 0)}
TVNEW={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,38, 0)}
VIDEOS={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,39, 0)}
MUSIC={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,43, 0)}
PICTURES={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,41, 0)}
GUIDE={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,46, 0)}
RADIO={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,42, 0)}
BACK={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,44, 0)}
MENU={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,48, 0)}
RED={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,51, 0)}
GREEN={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,52, 0)}
YELLOW={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,54, 0)}
BLUE={findwnd(,NeroHCWPVR2HWnd)}{SendMsg(0x814D,53, 0)}


[PowerCinema]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
NAVLEFT={LEFT}
NAVRIGHT={RIGHT}
NAVUP={UP}
NAVDOWN={DOWN}
OK={enter}
BACK={esc}
;BACK={BACK}
MENU={ctrl}v

; old remote, not supportted
SOURCE=		
MINIMIZE=				
FULLSCREEN=					
RESERVED=	

GRNPOWER={sys(0xF060)}
GO={alt}{home}
MENU=		

;;mappings to use APPCOMMANDS
MUTE={app(0x80000)}
CHNLUP={app(0x330000)}
CHNLDOWN={app(0x340000)}
VOLUP={app(0xa0000)}
VOLDOWN={app(0x90000)}
REC={app(0x300000)}
STOP={app(0xd0000)}
PAUSE={app(0x2f0000)}
PLAY={app(0x2e0000)}
REWIND={app(0x320000)}
FASTFWD={app(0x310000)}
SKIPFWD={app(0xb0000)}
SKIPREV={app(0xc0000)}

;;;Teletext Group
;;new version
;RED={ctrl}{shift}r
;GREEN={ctrl}{shift}g
;YELLOW={ctrl}{shift}y
;BLUE={ctrl}{shift}b
;;"merged" version
RED={ctrl}z{ctrl}{shift}r
GREEN={ctrl}q{ctrl}{shift}g
YELLOW={ctrl}x{ctrl}{shift}y
BLUE={ctrl}c{ctrl}{shift}b
;;original version
;RED={ctrl}z
;GREEN={ctrl}q
;YELLOW={ctrl}x
;BLUE={ctrl}c
TEXT={ctrl}{shift}t
; try pushing both CC and Subtitle, hopefully one is valid
SUBCC={ctrl}{shift}s{ctrl}{shift}t

TV={ctrl}t
TVNEW={ctrl}t
RADIO={ctrl}a
MUSIC={ctrl}m
VIDEOS={ctrl}e
PICTURES={ctrl}i
GUIDE={ctrl}g
CHNLPREV={ctrl}l


[Sceneo - TVcentral Core]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
NAVLEFT={LEFT}
NAVRIGHT={RIGHT}
NAVUP={UP}
NAVDOWN={DOWN}
OK={enter}
BACK={esc}


VOLUP={ADD}
VOLDOWN={SUBTRACT}

CHNLUP={PGUP}
CHNLDOWN={PGDN}

GRNPOWER={sys(0xF060)}
GO=
MENU={F9}
MUTE=m

REC={DIVIDE}
STOP={esc}
PAUSE={space}
PLAY={space}
REWIND={INSERT}
FASTFWD={DEL}

SKIPFWD=
SKIPREV=

TV={enter}
TVNEW={enter}
RADIO={F2}
MUSIC=
VIDEOS={DECIMAL}
PICTURES=
GUIDE={F1}
CHNLPREV=0

; Colored Buttons
RED={F1}
GREEN={F2}
YELLOW={F3}
BLUE={F4}

TEXT={F3}
SUBCC={Ctrl}{F10}


[Dell Media]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
NAVLEFT={LEFT}
NAVRIGHT={RIGHT}
NAVUP={UP}
NAVDOWN={DOWN}
OK={enter}
BACK={esc}
;BACK={BACK}

; old remote, not supportted
SOURCE=		
MINIMIZE=				
FULLSCREEN=					
RESERVED=	

GRNPOWER={sys(0xF060)}
GO={alt}{home}
MENU=		

;;mappings to use APPCOMMANDS
MUTE={app(0x80000)}
CHNLUP={app(0x330000)}
CHNLDOWN={app(0x340000)}
VOLUP={app(0xa0000)}
VOLDOWN={app(0x90000)}
REC={app(0x300000)}
STOP={app(0xd0000)}
PAUSE={app(0x2f0000)}
PLAY={app(0x2e0000)}
REWIND={app(0x320000)}
FASTFWD={app(0x310000)}
SKIPFWD={app(0xb0000)}
SKIPREV={app(0xc0000)}

;Teletext Group
RED={ctrl}z
GREEN={ctrl}q
YELLOW={ctrl}x
BLUE={ctrl}c
TEXT={ctrl}{shift}t
; try pushing both CC and Subtitle, hopefully one is valid
SUBCC={ctrl}{shift}s{ctrl}{shift}t

TV={ctrl}t
TVNEW={ctrl}t
RADIO={ctrl}a
MUSIC={ctrl}m
VIDEOS={ctrl}e
PICTURES={ctrl}i
GUIDE={ctrl}g
CHNLPREV={ctrl}l


;Note: only tested with Windows Media Player 8
[Windows Media Player]
FULLSCREEN={alt}{enter}
BACK={esc}
MUTE={F8}
VOLUP={F10}
VOLDOWN={F9}
CHNLUP={VK_UP}
CHNLDOWN={VK_DN}
NAVUP={VK_UP}
NAVDOWN={VK_DN}
OK={enter}
REC=
STOP={ctrl}s
PAUSE={ctrl}p
PLAY={ctrl}p
REWIND={ctrl}b
FASTFWD={ctrl}f
SKIPFWD={ctrl}{shift}f
SKIPREV={ctrl}{shift}b
1={alt}1
2={alt}2
3={alt}3
YELLOW={ctrl}1
BLUE={ctrl}2
GRNPOWER={alt}{f4}

;Windows Media Player 8 Full Screen
; but "ActiveMovie Window" is terribly generic
[ActiveMovie Window]
FULLSCREEN={alt}{enter}
BACK={esc}
MUTE={F8}
VOLUP={F10}
VOLDOWN={F9}
CHNLUP=
CHNLDOWN=
REC=
STOP={findwnd(,Windows Media Player)}{cmd(32809)}
PAUSE={findwnd(,Windows Media Player)}{cmd(32808)}
PLAY={findwnd(,Windows Media Player)}{cmd(32808)}
PAUSEPLAY={findwnd(,Windows Media Player)}{cmd(32808)}
REWIND={findwnd(,Windows Media Player)}{cmd(32810)}
FASTFWD={findwnd(,Windows Media Player)}{cmd(32811)}
SKIPFWD={findwnd(,Windows Media Player)}{cmd(32812)}
SKIPREV={findwnd(,Windows Media Player)}{cmd(32813)}
1={alt}1
2={alt}2
3={alt}3
YELLOW={ctrl}1
BLUE={ctrl}2
GRNPOWER={alt}{f4}

[WinTV7]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
NAVLEFT={left}
NAVRIGHT={right}
NAVUP={up}
NAVDOWN={down}
OK={enter}
BACK={ESCAPE}
GO={close(radio.exe)}{sleep(750)}{run(wintv7\wintv7.exe)}

;GRNPOWER={close(wintv7\wintv7.exe)}
GRNPOWER={ALT}{SHIFT}z
MCEJEWEL={ALT}{SHIFT}k
MENU={ALT}{SHIFT}u

MUTE={ALT}{SHIFT}r
CHNLUP={ALT}{SHIFT}s
CHNLDOWN={ALT}{SHIFT}t
VOLUP={ALT}{SHIFT}v
VOLDOWN={ALT}{SHIFT}q
REC={ALT}{SHIFT}c
STOP={ALT}{SHIFT}d
PAUSE={ALT}{SHIFT}a
PLAY={ALT}{SHIFT}b
PAUSEPLAY={ALT}{SHIFT}x
REWIND={ALT}{SHIFT}i
FASTFWD={ALT}{SHIFT}h
SKIPFWD={ALT}{SHIFT}f
SKIPREV={ALT}{SHIFT}g

RED={ALT}{SHIFT}n
GREEN=
YELLOW=
BLUE={CTRL}{SHIFT}a
TEXT={ALT}{SHIFT}o
SUBCC={ALT}{SHIFT}m

TV=
TVNEW={ALT}{SHIFT}e
RADIO=
MUSIC=
VIDEOS={ALT}{SHIFT}k
PICTURES={ALT}{SHIFT}l
GUIDE={ALT}{SHIFT}j
CHNLPREV={ALT}{SHIFT}w

RECORDEDTV={ALT}{SHIFT}y
LIVETV={ALT}{SHIFT}e
DVDMENU={ALT}{SHIFT}l
MCEINFO={ALT}{SHIFT}u
MCEPOUND={ALT}{SHIFT}m



[VTplus]
OLD0={ctrl}n0
0={ctrl}n0
1={ctrl}n1
2={ctrl}n2
3={ctrl}n3
4={ctrl}n4
5={ctrl}n5
6={ctrl}n6
7={ctrl}n7
8={ctrl}n8
9={ctrl}n9
OK={enter}
FULLSCREEN={alt}{space}x{alt}-x
CHNLUP={ctrl}{up}
CHNLDOWN={ctrl}{down}
VOLUP={ctrl}{F6}
VOLDOWN={ctrl}i
NAVUP={ctrl}{up}
NAVDOWN={ctrl}{down}
NAVLEFT={ctrl}i
NAVRIGHT={ctrl}{F6}
STOP={ctrl}s
RED={cmd(501)}
GREEN={cmd(502)}
YELLOW={cmd(503)}
BLUE={cmd(504)}
FULLSCREEN={alt}{space}r
GRNPOWER={sys(0xF060)}

; VTplus - new page dialog
[Create and Receive]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
OK={enter}
CHNLUP={shift}{tab}
CHNLDOWN={tab}
VOLDOWN={left}
VOLUP={right}
BACK={esc}
FULLSCREEN={space}
NAVUP={shift}{tab}
NAVDOWN={tab}
NAVLEFT={left}
NAVRIGHT={right}


[EPGdemo]
OK={enter}
VOLUP={tab}
VOLDOWN={shift}{tab}
GRNPOWER={sys(0xF060)}
BACK={BROWSER_BACK}
CHNLUP={shift}{tab}
CHNLDOWN={tab}
FULLSCREEN={enter}
NAVUP={shift}{tab}
NAVDOWN={tab}
NAVLEFT={shift}{tab}
NAVRIGHT={tab}


[Radio]
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
0=0
OLD0=0
MUTE=m
CHNLUP={f12}
CHNLDOWN={f11}
VOLUP={pgup}
VOLDOWN={pgdn}
RADIO={close(radio.exe)}
TVNEW={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
TV={close(radio.exe)}{sleep(750)}{run(wintv2k.exe)}
MINIMIZE=n
RESERVED=r
FULLSCREEN=s
SOURCE={enter}

GRNPOWER={close(radio.exe)} 
OK={enter}


; WinTV32 in fullscreen mode
[FullScreen]
OLD0=0
0=0            	       		
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=+
CHNLDOWN=-
FULLSCREEN={ctrl}t 
TVNEW={ctrl}t 
TV={alt}{f4}
RADIO={cmd(32847)}
;RADIO={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}{space}n         
SOURCE={ctrl}s
RESERVED={ctrl}t{alt}p{sleep(10000)}{ctrl}t

REC={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3325)}
STOP={ctrl}f
PAUSE={ctrl}t{cmd(3319)}{sleep(3000)}{ctrl}t
PLAY={ctrl}t{cmd(3323)}
REWIND={cmd(32803)}
FASTFWD={cmd(32780}}
SKIPFWD={cmd(32775)}
SKIPREV={cmd(32879)}
BACK={ctrl}t
;hcwGo app guys may prefer this
;GRNPOWER={sys(0xF060)} 
GRNPOWER={ctrl}t
BLUE={space}
GREEN={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;GREEN={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i

;Live Mode - normal window
[WinTV32] 
OLD0=0
0=0            	       		
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=+
CHNLDOWN=-
FULLSCREEN={ctrl}t
TVNEW={ctrl}t 
TV={alt}{f4}
RADIO={cmd(32847)}
;RADIO={alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}{space}n
SOURCE={ctrl}s
RESERVED={alt}p{sleep(3000)}

BLUE={space}
GRNPOWER={alt}{f4} 
; CC on/off
YELLOW={cmd(32878)}

REC={cmd(3325)}{findwnd(wintv_32,wintv)}{fgnwnd()}
STOP={ctrl}f
PAUSE={cmd(3319)}{sleep(1500)}{findwnd(wintv_32,wintv)}{fgnwnd()}
PLAY={cmd(3323)}{findwnd(wintv_32,wintv)}{fgnwnd()}
BACK={cmd(3327)}
;some interesting buttons for Live mode
; Toggle NoTitle mode
REWIND={cmd(32803)}
; Toggle TV mode
FASTFWD={ctrl}t
; Start/stop surfing
SKIPFWD={cmd(32775)}
; last channel
SKIPREV={cmd(32879)}

CHNLPREV={cmd(32879)}
; CC on/off
SUBCC={cmd(32878)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i
TEXT={cmd(32884)}


;VCR Mode; recording
[WinTV32(1)]
OLD0=
0=
1=
2=
3=
4=
5=
6=
7=
8=
9=
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t
TVNEW={ctrl}t 
TV=
RADIO=
MINIMIZE={alt}{space}n
SOURCE=
RESERVED=

REC={cmd(3325)}
STOP={findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3304)}
PAUSE={cmd(3301)}
PLAY=
REWIND=
FASTFWD=
SKIPFWD=
SKIPREV=
BACK={cmd(3327)}
GRNPOWER= 
BLUE={space}
GREEN=
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i


;VCR Mode; playing
[WinTV32(2)]
OLD0={alt}y
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t
TVNEW={ctrl}t
TV={alt}n
RADIO={cmd(32847)}
;RADIO={alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}s
SOURCE=
RESERVED={alt}q

REC={cmd(3325)}
STOP={findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3304)}
PAUSE={cmd(3301)}
PLAY={cmd(3301)}
REWIND={cmd(3333)}
FASTFWD={cmd(3334)}
SKIPFWD={cmd(3305)}
SKIPREV={cmd(3306)}
BACK={cmd(3327)}
GRNPOWER={cmd(3327)} 
BLUE={space}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i



;VCR Mode; paused
[WinTV32(3)]
OLD0={alt}y
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t
TVNEW={ctrl}t
TV={alt}n
RADIO={cmd(3327)}{cmd(32847)}
;RADIO={alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}s
SOURCE=
RESERVED={alt}q

REC={cmd(3325)}
STOP={findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3304)}
PAUSE={cmd(3301)}
PLAY={cmd(3301)}
REWIND={cmd(3333)}
FASTFWD={cmd(3334)}
SKIPFWD={cmd(3305)}
SKIPREV={cmd(3306)}
BACK={cmd(3327)}
GRNPOWER={cmd(3327)} 
BLUE={space}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i



;VCR Mode; Live TV
[WinTV32(4)]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=+
CHNLDOWN=-
FULLSCREEN={ctrl}t
TVNEW={ctrl}t 
TV={alt}{f4}
RADIO={cmd(3327)}{cmd(32847)}
;RADIO={alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}{space}n
SOURCE={ctrl}s
RESERVED={alt}p

REC={cmd(3325)}
STOP={cmd(3327)}
PAUSE={cmd(3319)}{sleep(1500)}
PLAY={cmd(3299)}
REWIND={cmd(3333)}
FASTFWD={cmd(3334)}
SKIPFWD={cmd(3305)}
SKIPREV={cmd(3306)}
BACK={cmd(3327)}
GRNPOWER={cmd(3327)} 
BLUE={space}
; CC on/off
YELLOW={cmd(32878)}
SUBCC={cmd(32878)}
CHNLPREV={cmd(32879)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i
TEXT={cmd(32884)}



;Pause Mode; sliping or paused
[WinTV32(5)]
OLD0={alt}y
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t
TVNEW={ctrl}t
TV={alt}n
RADIO={cmd(3327)}{cmd(32847)}
;RADIO={alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}s
SOURCE=
RESERVED={alt}q

REC={cmd(3325)}
STOP={findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}
PAUSE={cmd(3301)}
PLAY={cmd(3299)}
REWIND={cmd(3333)}
FASTFWD={cmd(3334)}
SKIPFWD={cmd(3305)}
SKIPREV={cmd(3306)}
BACK={cmd(3327)}
GRNPOWER={cmd(3327)} 
BLUE={space}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i



;Live Mode - FullScreen
; or VCR Mode, Live - Fullscreen
[WinTV32(8)] 
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=+
CHNLDOWN=-
FULLSCREEN={ctrl}t 
TVNEW={ctrl}t 
TV={alt}{f4}
RADIO={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;RADIO={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}{space}n         
SOURCE={ctrl}s
RESERVED={ctrl}t{alt}p{sleep(10000)}{ctrl}t

REC={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3325)}
STOP={ctrl}f
PAUSE={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3319)}{sleep(3000)}{ctrl}t
PLAY={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3323)}
REWIND={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}
FASTFWD=
SKIPFWD={findwnd(wintv_32,wintv)}{cmd(32775)}
SKIPREV={findwnd(wintv_32,wintv)}{cmd(32879)}
BACK={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}
;hcwGo app guys may prefer this
;GRNPOWER={sys(0xF060)} 
GRNPOWER={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}
BLUE={space}
; CC on/off
YELLOW={findwnd(wintv_32,wintv)}{cmd(32878)}
SUBCC={findwnd(wintv_32,wintv)}{cmd(32878)}
CHNLPREV={findwnd(wintv_32,wintv)}{cmd(32879)}
GREEN={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;GREEN={ctrl}t{findwnd(wintv_32,wintv)}{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i
TEXT={findwnd(wintv_32,wintv)}{cmd(32884)}


;Pause Mode, slipping, or paused Fullscreen
[WinTV32(9)]
OLD0={alt}y
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t 
TVNEW={ctrl}t 
TV={ctrl}t{sleep(1000)}{alt}n{sleep(10000)}{ctrl}t
RADIO={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;RADIO={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}s   
SOURCE=
RESERVED={alt}q 

REC={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3325)}
STOP={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}
PAUSE={findwnd(wintv_32,wintv)}{cmd(3301)}
PLAY={findwnd(wintv_32,wintv)}{cmd(3299)}
REWIND={findwnd(wintv_32,wintv)}{cmd(3333)}
FASTFWD={findwnd(wintv_32,wintv)}{cmd(3334)}
SKIPFWD={findwnd(wintv_32,wintv)}{cmd(3305)}
SKIPREV={findwnd(wintv_32,wintv)}{cmd(3306)}
BACK={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}
GRNPOWER={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()} 
BLUE={space}
GREEN={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;GREEN={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i


;VCR Mode, Playing, Fullscreen
[WinTV32(10)]
OLD0={alt}y
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()} 
TVNEW={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()} 
TV={ctrl}t{sleep(1000)}{alt}n{sleep(3000)}{ctrl}t
RADIO={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;RADIO={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}s
SOURCE=
RESERVED={cmd(3301)}

REC={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3325)}
STOP={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3304)}
PAUSE={findwnd(wintv_32,wintv)}{cmd(3301)}
PLAY={findwnd(wintv_32,wintv)}{cmd(3301)}
REWIND={findwnd(wintv_32,wintv)}{cmd(3333)}
FASTFWD={findwnd(wintv_32,wintv)}{cmd(3334)}
SKIPFWD={findwnd(wintv_32,wintv)}{cmd(3305)}
SKIPREV={findwnd(wintv_32,wintv)}{cmd(3306)}
BACK={ctrl}t
GRNPOWER={ctrl}t 
BLUE={space}
GREEN={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;GREEN={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i


;VCR Mode, Paused, Fullscreen
[WinTV32(11)]
OLD0={alt}y
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t 
TVNEW={ctrl}t 
TV={alt}{f4} 
RADIO={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;RADIO={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}s
SOURCE=
RESERVED={cmd(3301)}

REC={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3325)}
STOP={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3327)}
PAUSE={findwnd(wintv_32,wintv)}{cmd(3301)}
PLAY={findwnd(wintv_32,wintv)}{cmd(3301)}
REWIND={findwnd(wintv_32,wintv)}{cmd(3333)}
FASTFWD={findwnd(wintv_32,wintv)}{cmd(3334)}
SKIPFWD={findwnd(wintv_32,wintv)}{cmd(3305)}
SKIPREV={findwnd(wintv_32,wintv)}{cmd(3306)}
BACK={ctrl}t
GRNPOWER={ctrl}t 
BLUE={space}
GREEN={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;GREEN={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i



;VCR Mode; recording; Fullscreen
[WinTV32(12)]
OLD0=
0=
1=
2=
3=
4=
5=
6=
7=
8=
9=
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t
TVNEW={ctrl}t 
TV=
RADIO=
MINIMIZE={alt}{space}n
SOURCE=
RESERVED=

REC={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3325)}
STOP={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3304)}
PAUSE={findwnd(wintv_32,wintv)}{cmd(3301)}
PLAY=
REWIND=
FASTFWD=
SKIPFWD=
SKIPREV=
BACK={ctrl}t
GRNPOWER={ctrl}t 
BLUE={space}
GREEN=
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i


;full screen slip mode
[PVRFullScreen]
OLD0={alt}y
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=
CHNLDOWN=
FULLSCREEN={ctrl}t 
TVNEW={ctrl}t 
TV={ctrl}t{sleep(1000)}{alt}n{sleep(10000)}{ctrl}t
RADIO={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;RADIO={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
MINIMIZE={alt}s   
SOURCE=
RESERVED={alt}q 

REC={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3325)}
STOP={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3327)}
PAUSE={findwnd(wintv_32,wintv)}{cmd(3301)}
PLAY={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3299)}
REWIND={findwnd(wintv_32,wintv)}{cmd(3333)}
FASTFWD={findwnd(wintv_32,wintv)}{cmd(3334)}
SKIPFWD={findwnd(wintv_32,wintv)}{cmd(3305)}
SKIPREV={findwnd(wintv_32,wintv)}{cmd(3306)}
BACK={ctrl}t{findwnd(wintv_32,wintv)}{cmd(3327)}
GRNPOWER={ctrl}t 
BLUE={space}
GREEN={ctrl}t{findwnd(wintv_32,wintv)}{fgnwnd()}{cmd(3327)}{cmd(32847)}
;GREEN={ctrl}t{sleep(100)}{alt}{f4}{sleep(750)}{run(radio.exe)}
; DVB-t "now/next" feature
GUIDE={ctrl}i
FUNC={ctrl}i


; TV16 in a Window
[Win/TV]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=+
CHNLDOWN=-
FULLSCREEN={ctrl}t 
TVNEW={ctrl}t 
TV={alt}{f4} 
RADIO={alt}{f4}{run(exec wintv2k.exe radio.exe)} 
MINIMIZE={alt}{space}n


;Wintv16 Full Screen TV Mode
[Win/TV+]
OLD0=0
0=0
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
RADIO={alt}{f4}{run(exec wintv2k.exe radio.exe)}
TV={alt}{f4}
MUTE={ctrl}m
VOLUP={pgup}
VOLDOWN={pgdn}
CHNLUP=+
CHNLDOWN=-
FULLSCREEN={ctrl}t
TVNEW={ctrl}t 
SOURCE=
MINIMIZE=


; Special Macro Table for Task Switch Mode
[*task*]
OLD0=
0=
1=
2=
3=
4=
4=
5=
6=
7=
8=
9=
RADIO=
MUTE=
TV=
TVNEW=
VOLUP={tab}
VOLDOWN={shift}{tab}
;RESERVED={esc}{^menu}{mode()}
CHNLUP=
CHNLDOWN=
SOURCE={^menu}{mode()}
MINIMIZE=
FULLSCREEN=
NAVUP=
NAVDOWN=
NAVLEFT={shift}{tab}
NAVRIGHT={tab}

GREEN={esc}{^menu}{mode()}
GRNPOWER={esc}{^menu}{mode()}
BACK={esc}{^menu}{mode()}
OK={^menu}{mode()}


; to use this, open notepad with a document name of debug.txt and set focus to it.
; debug.txt= must be uncommented in [applications] section as well.
[Debug.txt]
OLD0=OLD0{enter}
0=0{enter}
1=1{enter}
2=2{enter}
3=3{enter}
4=4{enter}
5=5{enter}
6=6{enter}
7=7{enter}
8=8{enter}
9=9{enter}
FULLSCREEN=FULLSCREEN{enter}
RADIO=RADIO{enter}
MUTE=MUTE{enter}
TV=TV{enter}
VOLUP=VOLUP{enter}
VOLDOWN=VOLDOWN{enter}
RESERVED=RESERVED{enter}
CHNLUP=CHNLUP{enter}
CHNLDOWN=CHNLDOWN{enter}
SOURCE=SOURCE{enter}
MINIMIZE=MINIMIZE{enter}

GREEN=GREEN{enter}
YELLOW=YELLOW{enter}
RED=RED{enter}
BLUE=BLUE{enter}
FUNC=FUNC{enter}
SKIPFWD=SKIPFWD{enter}
SKIPREV=SKIPREV{enter}
GRNPOWER=GRNPOWER{enter}
BACK=BACK{enter}
OK=OK{enter}
MENU=MENU{enter}
REC=REC{enter}
STOP=STOP{enter}
PLAY=PLAY{enter}
PAUSE=PAUSE{enter}
PAUSEPLAY=PAUSEPLAY{enter}
REWIND=REWIND{enter}
FASTFWD=FASTFWD{enter}
GO=GO{enter}

VIDEOS=VIDEOS{enter}
MUSIC=MUSIC{enter}
PICTURES=PICTURES{enter}
GUIDE=GUIDE{enter}
NAVLEFT=NAVLEFT{enter}
NAVRIGHT=NAVRIGHT{enter}
NAVUP=NAVUP{enter}
NAVDOWN=NAVDOWN{enter}
TEXT=TEXT{enter}
SUBCC=SUBCC{enter}
CHNLPREV=CHNLPREV{enter}
TVNEW=TVNEW{enter}

TEXT=TEXT{enter}
MCESTAR=MCESTAR{enter}
MCEPOUND=MCEPOUND{enter}
CLEAR=CLEAR{enter}
ENTER=ENTER{enter}
MCEINFO=MCEINFO{enter}
MCEJEWEL=MCEJEWEL{enter}
LIVETV=LIVETV{enter}
DVDMENU=DVDMENU{enter}
RECORDEDTV=RECORDEDTV{enter}

CODE0=CODE0{enter}
CODE1=CODE1{enter}
CODE2=CODE2{enter}
CODE3=CODE3{enter}
CODE4=CODE4{enter}
CODE5=CODE5{enter}
CODE6=CODE6{enter}
CODE7=CODE7{enter}
CODE8=CODE8{enter}
CODE9=CODE9{enter}
CODE10=CODE10{enter}
CODE11=CODE11{enter}
CODE12=CODE12{enter}
CODE13=CODE13{enter}
CODE14=CODE14{enter}
CODE15=CODE15{enter}
CODE16=CODE16{enter}
CODE17=CODE17{enter}
CODE18=CODE18{enter}
CODE19=CODE19{enter}
CODE20=CODE20{enter}
CODE21=CODE21{enter}
CODE22=CODE22{enter}
CODE23=CODE23{enter}
CODE24=CODE24{enter}
CODE25=CODE25{enter}
CODE26=CODE26{enter}
CODE27=CODE27{enter}
CODE28=CODE28{enter}
CODE29=CODE29{enter}
CODE30=CODE30{enter}
CODE31=CODE31{enter}
CODE32=CODE32{enter}
CODE33=CODE33{enter}
CODE34=CODE34{enter}
CODE35=CODE35{enter}
CODE36=CODE36{enter}
CODE37=CODE37{enter}
CODE38=CODE38{enter}
CODE39=CODE39{enter}
CODE40=CODE40{enter}
CODE41=CODE41{enter}
CODE42=CODE42{enter}
CODE43=CODE43{enter}
CODE44=CODE44{enter}
CODE45=CODE45{enter}
CODE46=CODE46{enter}
CODE47=CODE47{enter}
CODE48=CODE48{enter}
CODE49=CODE49{enter}
CODE50=CODE50{enter}
CODE51=CODE51{enter}
CODE52=CODE52{enter}
CODE53=CODE53{enter}
CODE54=CODE54{enter}
CODE55=CODE55{enter}
CODE56=CODE56{enter}
CODE57=CODE57{enter}
CODE58=CODE58{enter}
CODE59=CODE59{enter}
CODE60=CODE60{enter}
CODE61=CODE61{enter}
CODE62=CODE62{enter}
CODE63=CODE63{enter}


; TODO: Name to number mapping for sending APPCommands ; or general string replacement??
; for now, here is a list as reference
;[APPCommands]
;APPCOMMAND_BROWSER_BACKWARD       0x10000
;APPCOMMAND_BROWSER_FORWARD        0x20000
;APPCOMMAND_BROWSER_REFRESH        0x30000
;APPCOMMAND_BROWSER_STOP           0x40000
;APPCOMMAND_BROWSER_SEARCH         0x50000
;APPCOMMAND_BROWSER_FAVORITES      0x60000
;APPCOMMAND_BROWSER_HOME           0x70000
;APPCOMMAND_VOLUME_MUTE            0x80000
;APPCOMMAND_VOLUME_DOWN            0x90000
;APPCOMMAND_VOLUME_UP              0xa0000
;APPCOMMAND_MEDIA_NEXTTRACK        0xb0000
;APPCOMMAND_MEDIA_PREVIOUSTRACK    0xc0000
;APPCOMMAND_MEDIA_STOP             0xd0000
;APPCOMMAND_MEDIA_PLAY_PAUSE       0xe0000
;APPCOMMAND_LAUNCH_MAIL            0xf0000
;APPCOMMAND_LAUNCH_MEDIA_SELECT    0x100000
;APPCOMMAND_LAUNCH_APP1            0x110000
;APPCOMMAND_LAUNCH_APP2            0x120000
;APPCOMMAND_BASS_DOWN              0x130000
;APPCOMMAND_BASS_BOOST             0x140000
;APPCOMMAND_BASS_UP                0x150000
;APPCOMMAND_TREBLE_DOWN            0x160000
;APPCOMMAND_TREBLE_UP              0x170000

;APPCOMMAND_MICROPHONE_VOLUME_MUTE 0x180000
;APPCOMMAND_MICROPHONE_VOLUME_DOWN 0x190000
;APPCOMMAND_MICROPHONE_VOLUME_UP   0x1a0000
;APPCOMMAND_HELP                   0x1b0000
;APPCOMMAND_FIND                   0x1c0000
;APPCOMMAND_NEW                    0x1d0000
;APPCOMMAND_OPEN                   0x1e0000
;APPCOMMAND_CLOSE                  0x1f0000
;APPCOMMAND_SAVE                   0x200000
;APPCOMMAND_PRINT                  0x210000
;APPCOMMAND_UNDO                   0x220000
;APPCOMMAND_REDO                   0x230000
;APPCOMMAND_COPY                   0x240000
;APPCOMMAND_CUT                    0x250000
;APPCOMMAND_PASTE                  0x260000
;APPCOMMAND_REPLY_TO_MAIL          0x270000
;APPCOMMAND_FORWARD_MAIL           0x280000
;APPCOMMAND_SEND_MAIL              0x290000
;APPCOMMAND_SPELL_CHECK            0x2a0000
;APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE    0x2b0000
;APPCOMMAND_MIC_ON_OFF_TOGGLE      0x2c0000
;APPCOMMAND_CORRECTION_LIST        0x2d0000

; new for WINXP SP1 - FREESTYLE
;APPCOMMAND_PLAY        0x2e0000
;APPCOMMAND_PAUSE       0x2f0000
;APPCOMMAND_RECORD      0x300000
;APPCOMMAND_FASTFORW    0x310000
;APPCOMMAND_FASTBACK    0x320000
;APPCOMMAND_CHAN_UP     0x330000
;APPCOMMAND_CHAN_DN     0x340000


; WinTV2000 Command IDs for PVR functions
; ID_STREAM_RECORD                3298
; ID_STREAM_SETUP_VCD             3330 (starts VCD recording)
; ID_STREAM_PLAY                  3299
; ID_STREAM_PAUSE                 3301
; ID_STREAM_STOP                  3304
; ID_STREAM_FF                    3305 (10 secs fwd)
; ID_STREAM_REWIND                3306 (10 secs back)
; ID_STREAM_EARLIEST              3307 (jump to start)
; ID_STREAM_LATEST                3308 (jump to end/near Live)
; ID_STREAM_PLAY_BACKWARDS        3333
; ID_STREAM_PLAY_FORWARD_FAST     3334

; ID_BUTTON_OTP                   3328 (Slip mode; don't pause)
; ID_STREAM_START_SLIP_MODE       3319 (Slip mode; start paused)
; ID_BUTTON_OTR                   3325 (start recording)
; ID_BUTTON_NORMAL_MODE           3327 (back to Live mode, close tray )
; ID_BUTTON_FILE_PLAY             3323 (the main app REC button, don't ask)
; ID_BUTTON_RADIO		  32847 (launch Radio app/mode from WinTV)
; ID_BUTTON_VT			  32884 (launch Teletext app/mode from WinTV)
server: ftp, load: 0.93