diff -Naur xbmc-14-5ec51aa.orig/system/keymaps/joystick.PS4.Controller.xml xbmc-14-5ec51aa/system/keymaps/joystick.PS4.Controller.xml
--- xbmc-14-5ec51aa.orig/system/keymaps/joystick.PS4.Controller.xml	1969-12-31 16:00:00.000000000 -0800
+++ xbmc-14-5ec51aa/system/keymaps/joystick.PS4.Controller.xml	2014-06-06 16:53:33.786191904 -0700
@@ -0,0 +1,324 @@
+<!-- Joystick Name: Wireless Controller (PS4)  -->
+
+<!-- Button Mappings:                          -->
+<!--                                           -->
+<!-- ID              Button                    -->
+<!--                                           -->
+<!-- 1               Square                    -->
+<!-- 2               Cross                     -->
+<!-- 3               Circle                    -->
+<!-- 4               Triangle                  -->
+<!-- 5               L1                        -->
+<!-- 6               R1                        -->
+<!-- 7               L2                        -->
+<!-- 8               R2                        -->
+<!-- 9               Share     (not used)      -->
+<!-- 10              Options   (not used)      -->
+<!-- 11              L3                        -->
+<!-- 12              R3                        -->
+<!-- 13              PS Button (not used)      -->
+
+<!-- Hat Mappings:                             -->
+<!--                                           -->
+<!-- ID              Button                    -->
+<!--                                           -->
+<!-- 1 up            D-Pad Up                  -->
+<!-- 1 down          D-Pad Down                -->
+<!-- 1 left          D-Pad Left                -->
+<!-- 1 right         D-Pad Right               -->
+
+<!-- Axis Mappings:                            -->
+<!--                                           -->
+<!-- ID              Button                    -->
+<!--                                           -->
+<!-- 1               Left Stick L/R            -->
+<!-- 2               Left Stick U/D            -->
+<!-- 3               Right Stick L/R           -->
+<!-- 4               Right Stick U/D           -->
+
+<keymap>
+  
+  <global>
+    <joystick name="Wireless Controller">
+      <button id="2">Select</button>
+      <button id="1">ContextMenu</button>
+      <button id="4">FullScreen</button>
+      <button id="3">Back</button>
+      <button id="5">Queue</button>
+      <button id="6">Playlist</button>
+      <button id="11">PreviousMenu</button>
+      <button id="12">XBMC.ActivateWindow(Home)</button>
+      <hat    id="1" position="left">Left</hat>
+      <hat    id="1" position="right">Right</hat>
+      <hat    id="1" position="up">Up</hat>
+      <hat    id="1" position="down">Down</hat>
+      <axis limit="+1" id="3">AnalogSeekForward</axis>
+      <axis limit="-1" id="3">AnalogSeekBack</axis>
+      <axis limit="-1" id="2">ScrollUp</axis>
+      <axis limit="+1" id="2">ScrollDown</axis>
+    </joystick>
+  </global>
+
+  <Home>
+  </Home>
+
+  <MyFiles>
+  </MyFiles>
+
+  <MyMusicPlaylist>
+    <joystick name="Wireless Controller">
+      <button id="5">Delete</button>
+    </joystick>
+  </MyMusicPlaylist>
+
+  <MyMusicFiles>
+  </MyMusicFiles>
+
+  <MyMusicLibrary>
+  </MyMusicLibrary>
+
+  <FullscreenVideo>
+    <joystick name="Wireless Controller">
+      <button id="2">Pause</button>
+      <button id="1">OSD</button>
+      <button id="3">Stop</button>
+      <button id="5">AspectRatio</button>
+      <button id="6">ShowSubtitles</button>
+      <button id="11">SmallStepBack</button>
+      <button id="12">Info</button>
+      <hat    id="1" position="left">StepBack</hat>
+      <hat    id="1" position="right">StepForward</hat>
+      <hat    id="1" position="up">BigStepForward</hat>
+      <hat    id="1" position="down">BigStepBack</hat>
+    </joystick>
+  </FullscreenVideo>
+
+  <FullscreenLiveTV>
+    <joystick name="Wireless Controller">
+      <hat    id="1" position="up">ChannelUp</hat>
+      <hat    id="1" position="down">ChannelDown</hat>
+      <hat    id="1" position="left">PreviousChannelGroup</hat>
+      <hat    id="1" position="right">NextChannelGroup</hat>
+    </joystick>
+  </FullscreenLiveTV>
+
+  <FullscreenInfo>
+    <joystick name="Wireless Controller">
+      <button id="1">OSD</button>
+      <button id="3">Close</button>
+    </joystick>
+  </FullscreenInfo>
+
+  <PlayerControls>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </PlayerControls>
+
+  <Visualisation>
+    <joystick name="Wireless Controller">
+      <button id="2">Pause</button>
+      <button id="3">Stop</button>
+      <button id="1">XBMC.ActivateWindow(MusicOSD)</button>
+      <button id="12">Info</button>
+      <button id="6">SkipNext</button>
+      <button id="5">SkipPrevious</button>
+      <button id="7">PreviousPreset</button>
+      <button id="8">NextPreset</button>
+    </joystick>
+  </Visualisation>
+
+  <MusicOSD>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+      <button id="12">Info</button>
+    </joystick>
+  </MusicOSD>
+
+  <VisualisationSettings>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </VisualisationSettings>
+
+  <VisualisationPresetList>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </VisualisationPresetList>
+
+  <SlideShow>
+    <joystick name="Wireless Controller">
+      <button id="2">Pause</button>
+      <button id="3">Stop</button>
+      <button id="4">ZoomNormal</button>
+      <button id="5">Rotate</button>
+      <button id="6">CodecInfo</button>
+      <hat    id="1" position="left">PreviousPicture</hat>
+      <hat    id="1" position="right">NextPicture</hat>
+      <axis id="1">AnalogMove</axis>
+      <axis id="2">AnalogMove</axis>
+      <button id="7">ZoomOut</button>
+      <button id="8">ZoomIn</button>
+    </joystick>
+  </SlideShow>
+
+  <ScreenCalibration>
+    <joystick name="Wireless Controller">
+      <button id="2">ResetCalibration</button>
+      <button id="5">NextResolution</button>
+      <button id="6">NextCalibration</button>
+    </joystick>
+  </ScreenCalibration>
+
+  <GUICalibration>
+    <joystick name="Wireless Controller">
+      <button id="2">ResetCalibration</button>
+      <button id="5">NextResolution</button>
+      <button id="6">NextCalibration</button>
+    </joystick>
+  </GUICalibration>
+
+  <VideoOSD>
+    <joystick name="Wireless Controller">
+      <button id="2">Close</button>
+    </joystick>
+  </VideoOSD>
+
+  <VideoMenu>
+    <joystick name="Wireless Controller">
+      <button id="3">Stop</button>
+      <button id="2">OSD</button>
+      <button id="5">AspectRatio</button>
+      <button id="12">Info</button>
+    </joystick>
+  </VideoMenu>
+
+  <OSDVideoSettings>
+    <joystick name="Wireless Controller">
+      <button id="5">AspectRatio</button>
+      <button id="2">Close</button>
+    </joystick>
+  </OSDVideoSettings>
+
+  <OSDAudioSettings>
+    <joystick name="Wireless Controller">
+      <button id="5">AspectRatio</button>
+      <button id="2">Close</button>
+    </joystick>
+  </OSDAudioSettings>
+
+  <VideoBookmarks>
+    <joystick name="Wireless Controller">
+      <button id="5">Delete</button>
+    </joystick>
+  </VideoBookmarks>
+
+  <MyVideoLibrary>
+  </MyVideoLibrary>
+
+  <MyVideoFiles>
+  </MyVideoFiles>
+
+  <MyVideoPlaylist>
+    <joystick name="Wireless Controller">
+      <button id="5">Delete</button>
+    </joystick>
+  </MyVideoPlaylist>
+
+  <VirtualKeyboard>
+    <joystick name="Wireless Controller">
+      <button id="3">BackSpace</button>
+      <button id="4">Symbols</button>
+      <button id="5">Shift</button>
+      <button id="11">Enter</button>
+      <button id="7">CursorLeft</button>
+      <button id="8">CursorRight</button>
+    </joystick>
+  </VirtualKeyboard>
+
+  <ContextMenu>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </ContextMenu>
+
+  <Scripts>
+  </Scripts>
+
+  <Settings>
+    <joystick name="Wireless Controller">
+      <button id="3">PreviousMenu</button>
+    </joystick>
+  </Settings>
+
+  <AddonInformation>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </AddonInformation>
+
+  <AddonSettings>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </AddonSettings>
+
+  <TextViewer>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </TextViewer>
+
+  <shutdownmenu>
+    <joystick name="Wireless Controller">
+      <button id="3">PreviousMenu</button>
+    </joystick>
+  </shutdownmenu>
+
+  <submenu>
+    <joystick name="Wireless Controller">
+      <button id="3">PreviousMenu</button>
+    </joystick>
+  </submenu>
+
+  <MusicInformation>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </MusicInformation>
+
+  <MovieInformation>
+    <joystick name="Wireless Controller">
+      <button id="3">Close</button>
+    </joystick>
+  </MovieInformation>
+
+  <NumericInput>
+    <joystick name="Wireless Controller">
+      <button id="3">BackSpace</button>
+      <button id="11">Enter</button>
+    </joystick>
+  </NumericInput>
+
+  <GamepadInput>
+    <joystick name="Wireless Controller">
+      <button id="11">Stop</button>
+    </joystick>
+  </GamepadInput>
+
+  <LockSettings>
+    <joystick name="Wireless Controller">
+      <button id="3">PreviousMenu</button>
+      <button id="11">Close</button>
+    </joystick>
+  </LockSettings>
+
+  <ProfileSettings>
+    <joystick name="Wireless Controller">
+      <button id="3">PreviousMenu</button>
+      <button id="11">Close</button>
+    </joystick>
+  </ProfileSettings>
+
+</keymap>
