<keymap>
	<map context="MediaCenterActions">
		<device name="dreambox remote control (native)">
			<key id="KEY_PREVIOUS" mapto="previous" flags="m" />
			<key id="KEY_NEXT" mapto="next" flags="m" />
			<key id="KEY_STOP" mapto="stop" flags="b" />
		</device>
		<device name="dreambox advanced remote control (native)">
			<key id="KEY_PREVIOUS" mapto="previous" flags="m" />
			<key id="KEY_NEXT" mapto="next" flags="m" />
			<key id="KEY_STOP" mapto="stop" flags="b" />
		</device>
		<device name="dreambox ir keyboard">
			<key id="KEY_PREVIOUSSONG" mapto="previous" flags="m" />
			<key id="KEY_NEXTSONG" mapto="next" flags="m" />
			<key id="KEY_STOP" mapto="stop" flags="b" />
		</device>
		<device name="compatible: pcKeyboard">
			<key id="KEY_ASCII" mapto="ascii" flags="mr" />
			<key id="KEY_F1" mapto="red" flags="m" />
			<key id="KEY_F2" mapto="green" flags="m" />
			<key id="KEY_F3" mapto="yellow" flags="m" />
			<key id="KEY_F4" mapto="blue" flags="m" />
			<key id="KEY_F6" mapto="menu" flags="m" />
			<key id="KEY_F7" mapto="sideBar" flags="m" />
			<key id="KEY_PREVIOUSSONG" mapto="previous" flags="m" />
			<key id="KEY_PLAYPAUSE" mapto="playpause" flags="m" />
			<key id="KEY_ESC" mapto="stop" flags="l" />
			<key id="KEY_NEXTSONG" mapto="next" flags="m" />
			<key id="KEY_KPPLUS" mapto="channelUp" flags="m" />
			<key id="KEY_KPMINUS" mapto="channelDown" flags="m" />
		</device>

		<!-- Listbox Actions -->
		<key id="KEY_UP" mapto="moveUp" flags="mr" />
		<key id="KEY_DOWN" mapto="moveDown" flags="mr" />
		<key id="KEY_HOME" mapto="moveTop" flags="mr" />
		<key id="KEY_END" mapto="moveEnd" flags="mr" />
		<key id="KEY_PAGEUP" mapto="pageUp" flags="mr" />
		<key id="KEY_PAGEDOWN" mapto="pageDown" flags="mr" />
		<key id="KEY_LEFT" mapto="pageUp" flags="mr" />
		<key id="KEY_RIGHT" mapto="pageDown" flags="mr" />
		<!-- /Listbox Actions -->

		<key id="KEY_MENU" mapto="menu" flags="mr" />
		<key id="KEY_ENTER" mapto="ok" flags="m" />
		<key id="KEY_OK" mapto="ok" flags="m" />
		<key id="KEY_EXIT" mapto="cancel" flags="m" />
		<key id="KEY_ESC" mapto="cancel" flags="m" />
		<key id="KEY_RED" mapto="red" flags="m" />
		<key id="KEY_GREEN" mapto="green" flags="m" />
		<key id="KEY_YELLOW" mapto="yellow" flags="m" />
		<key id="KEY_BLUE" mapto="blue" flags="m" />
		<key id="KEY_PLAYPAUSE" mapto="playpause" flags="m" />
		<key id="KEY_PLAY" mapto="playpause" flags="m" />
		<key id="KEY_PREVIOUS" mapto="previous" flags="m" />
		<key id="KEY_NEXT" mapto="next" flags="m" />
		<key id="KEY_CHANNELUP" mapto="channelUp" flags="m" />
		<key id="KEY_CHANNELDOWN" mapto="channelDown" flags="m" />
	</map>
	<map context="InputActions">
		<key id="KEY_BACKSPACE" mapto="backspace" flags="mr" />
		<key id="KEY_DELETE" mapto="delete" flags="mr" />
		<key id="KEY_ASCII" mapto="ascii" flags="mr" />
	</map>
</keymap>
