Skip to content

Commit

Permalink
Joystick API (PR:2370 - xbmc#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
garbear authored and herrnst committed Oct 31, 2013
1 parent 7f121e3 commit 0f71105
Show file tree
Hide file tree
Showing 36 changed files with 2,094 additions and 1,403 deletions.
3 changes: 3 additions & 0 deletions configure.in
Expand Up @@ -2172,6 +2172,9 @@ else
final_message="$final_message\n Joystick:\tNo"
fi

# --enable-joystick is for SDL joysticks, use joystick.h for Linux Joystick API
AC_CHECK_HEADER([linux/joystick.h], AC_DEFINE([HAS_LINUX_JOYSTICK],[1],[Define if we have linux/joystick.h]),)

if test "$use_xrandr" = "yes"; then
final_message="$final_message\n XRandR:\tYes"
USE_XRANDR=1
Expand Down
11 changes: 9 additions & 2 deletions project/VS2010Express/XBMC.vcxproj
Expand Up @@ -718,6 +718,8 @@
<ClCompile Include="..\..\xbmc\GUIPassword.cpp" />
<ClCompile Include="..\..\xbmc\input\ButtonTranslator.cpp" />
<ClCompile Include="..\..\xbmc\input\InertialScrollingHandler.cpp" />
<ClCompile Include="..\..\xbmc\input\Joystick.cpp" />
<ClCompile Include="..\..\xbmc\input\JoystickManager.cpp" />
<ClCompile Include="..\..\xbmc\input\KeyboardLayoutConfiguration.cpp" />
<ClCompile Include="..\..\xbmc\input\KeyboardStat.cpp" />
<ClCompile Include="..\..\xbmc\input\MouseStat.cpp" />
Expand All @@ -726,7 +728,8 @@
<ClCompile Include="..\..\xbmc\input\touch\ITouchInputHandling.cpp" />
<ClCompile Include="..\..\xbmc\input\windows\IRServerSuite.cpp" />
<ClCompile Include="..\..\xbmc\input\windows\IrssMessage.cpp" />
<ClCompile Include="..\..\xbmc\input\windows\WINJoystick.cpp" />
<ClCompile Include="..\..\xbmc\input\windows\WINJoystickDX.cpp" />
<ClCompile Include="..\..\xbmc\input\windows\WINJoystickXInput.cpp" />
<ClCompile Include="..\..\xbmc\input\XBMC_keytable.cpp" />
<ClCompile Include="..\..\xbmc\interfaces\AnnouncementManager.cpp" />
<ClCompile Include="..\..\xbmc\interfaces\Builtins.cpp" />
Expand Down Expand Up @@ -1116,13 +1119,17 @@
<ClInclude Include="..\..\xbmc\input\touch\ITouchInputHandler.h" />
<ClInclude Include="..\..\xbmc\input\touch\ITouchInputHandling.h" />
<ClInclude Include="..\..\xbmc\input\touch\TouchTypes.h" />
<ClInclude Include="..\..\xbmc\input\windows\WINJoystick.h" />
<ClInclude Include="..\..\xbmc\interfaces\generic\ILanguageInvocationHandler.h" />
<ClInclude Include="..\..\xbmc\interfaces\generic\ILanguageInvoker.h" />
<ClInclude Include="..\..\xbmc\interfaces\generic\LanguageInvokerThread.h" />
<ClInclude Include="..\..\xbmc\interfaces\generic\ScriptInvocationManager.h" />
<ClInclude Include="..\..\xbmc\interfaces\json-rpc\FavouritesOperations.h" />
<ClInclude Include="..\..\xbmc\interfaces\json-rpc\ProfilesOperations.h" />
<ClInclude Include="..\..\xbmc\input\IJoystick.h" />
<ClInclude Include="..\..\xbmc\input\Joystick.h" />
<ClInclude Include="..\..\xbmc\input\JoystickManager.h" />
<ClInclude Include="..\..\xbmc\input\windows\WINJoystickDX.h" />
<ClInclude Include="..\..\xbmc\input\windows\WINJoystickXInput.h" />
<ClInclude Include="..\..\xbmc\interfaces\json-rpc\PVROperations.h" />
<ClInclude Include="..\..\xbmc\interfaces\legacy\Addon.h" />
<ClInclude Include="..\..\xbmc\interfaces\legacy\AddonCallback.h" />
Expand Down
35 changes: 28 additions & 7 deletions project/VS2010Express/XBMC.vcxproj.filters
Expand Up @@ -2478,9 +2478,6 @@
<ClCompile Include="..\..\xbmc\utils\RecentlyAddedJob.cpp">
<Filter>utils</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\input\windows\WINJoystick.cpp">
<Filter>input\windows</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\filesystem\ImageFile.cpp">
<Filter>filesystem</Filter>
</ClCompile>
Expand Down Expand Up @@ -3076,6 +3073,18 @@
<ClCompile Include="..\..\xbmc\windowing\WinEvents.cpp">
<Filter>windowing</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\input\Joystick.cpp">
<Filter>input</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\input\JoystickManager.cpp">
<Filter>input</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\input\windows\WINJoystickDX.cpp">
<Filter>input\windows</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\input\windows\WINJoystickXInput.cpp">
<Filter>input\windows</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\xbmc\win32\pch.h">
Expand Down Expand Up @@ -5556,9 +5565,6 @@
<ClInclude Include="..\..\xbmc\utils\RecentlyAddedJob.h">
<Filter>utils</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\input\windows\WINJoystick.h">
<Filter>input\windows</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\filesystem\ImageFile.h">
<Filter>filesystem</Filter>
</ClInclude>
Expand Down Expand Up @@ -6040,6 +6046,21 @@
<ClInclude Include="..\..\xbmc\utils\uXstrings.h">
<Filter>utils</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\input\IJoystick.h">
<Filter>input</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\input\Joystick.h">
<Filter>input</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\input\JoystickManager.h">
<Filter>input</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\input\windows\WINJoystickDX.h">
<Filter>input\windows</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\input\windows\WINJoystickXInput.h">
<Filter>input\windows</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc">
Expand Down Expand Up @@ -6069,4 +6090,4 @@
<Filter>interfaces\swig</Filter>
</None>
</ItemGroup>
</Project>
</Project>

0 comments on commit 0f71105

Please sign in to comment.