<keymap>
	<map context="GlobalwbrfsKeyActions">
		<key id="KEY_POWER" mapto="wbrfs_power_down" flags="m" />
		<key id="KEY_POWER" mapto="wbrfs_power_long" flags="l" />
		<key id="KEY_POWER" mapto="wbrfs_power_up" flags="b" />
		<key id="KEY_UP" mapto="up" flags="mr" />
		<key id="KEY_DOWN" mapto="down" flags="mr" />
	</map>


	<map context="wbrfsKeyActions">
		<key id="KEY_POWER" mapto="wbrfs_power_down" flags="m" />
		<key id="KEY_POWER" mapto="wbrfs_power_long" flags="l" />
		<key id="KEY_POWER" mapto="wbrfs_power_up" flags="b" />
		<key id="KEY_UP" mapto="up" flags="mr" />
		<key id="KEY_DOWN" mapto="down" flags="mr" />
		<key id="KEY_LEFT" mapto="left" flags="m" />
		<key id="KEY_RIGHT" mapto="right" flags="m" />

		<key id="KEY_RED" mapto="red" flags="b" />
		<key id="KEY_RED" mapto="red_long" flags="l" />
		<key id="KEY_GREEN" mapto="green" flags="b" />
		<key id="KEY_GREEN" mapto="green_long" flags="l" />
		<key id="KEY_YELLOW" mapto="yellow" flags="b" />
		<key id="KEY_YELLOW" mapto="yellow_long" flags="l" />
		<key id="KEY_BLUE" mapto="blue" flags="b" />
		<key id="KEY_BLUE" mapto="blue_long" flags="l" />
		
		<key id="KEY_1" mapto="1" flags="m" />
		<key id="KEY_2" mapto="2" flags="m" />
		<key id="KEY_3" mapto="3" flags="m" />
		<key id="KEY_4" mapto="4" flags="m" />
		<key id="KEY_5" mapto="5" flags="m" />
		<key id="KEY_6" mapto="6" flags="m" />
		<key id="KEY_7" mapto="7" flags="m" />
		<key id="KEY_8" mapto="8" flags="m" />
		<key id="KEY_9" mapto="9" flags="m" />
		<key id="KEY_0" mapto="0" flags="m" />

		<key id="KEY_CHANNELUP" mapto="nextBouquet" flags="mr" />
		<key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="mr" />

		<key id="KEY_OK" mapto="ok" flags="m" />
		<key id="KEY_STOP" mapto="halt" flags="m" />

		<key id="KEY_PLAY" mapto="pause" flags="m" />
		
		<key id="KEY_PAUSE" mapto="pause" flags="m" />
		<key id="KEY_PLAYPAUSE" mapto="pause" flags="m" />
		<key id="KEY_PAGEUP" mapto="nextBouquet" flags="m" />
		<key id="KEY_PAGEDOWN" mapto="prevBouquet" flags="m" />
		<key id="KEY_MENU" mapto="menu" flags="m" />
		<key id="KEY_EXIT" mapto="cancel" flags="m" />
		<key id="KEY_INFO" mapto="info" flags="m" />
		<key id="KEY_HELP" mapto="contextMenu" flags="m" />
                <key id="KEY_TEXT" mapto="text" flags="b" />
                <key id="KEY_TEXT" mapto="sli" flags="l" />

                <key id="KEY_RECORD" mapto="record" flags="b" />
                <key id="KEY_RECORD" mapto="record_extended" flags="l" />
                <key id="KEY_SUBTITLE" mapto="subtitle" flags="m" />
                <key id="KEY_TV" mapto="tv" flags="m" />
		<key id="KEY_PREVIOUS" mapto="zapup" flags="mr" />
		<key id="KEY_NEXT" mapto="zapdown" flags="mr" />
		<key id="KEY_REWIND" mapto="rewind" flags="b" />
		<key id="KEY_FASTFORWARD" mapto="fastfor" flags="b" />
		<key id="KEY_PREVIOUSSONG" mapto="rewind" flags="b" />
		<key id="KEY_NEXTSONG" mapto="fastfor" flags="b" />
		<key id="KEY_VIDEO" mapto="pvr" flags="b" />
		<key id="KEY_AUDIO" mapto="audio" flags="b" />

	</map>
</keymap>
