mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(Playbook) Build fixes
This commit is contained in:
parent
7213c3a1ed
commit
ddd537eada
@ -31,10 +31,12 @@
|
||||
<option id="com.qnx.qcc.option.compiler.security.209097800" name="Enhanced Security (-fstack-protector-all)" superClass="com.qnx.qcc.option.compiler.security" value="false" valueType="boolean"/>
|
||||
<option id="com.qnx.qcc.option.compiler.defines.1775248205" name="Defines (-D)" superClass="com.qnx.qcc.option.compiler.defines" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FORTIFY_SOURCE=2"/>
|
||||
<listOptionValue builtIn="false" value="RARCH_INTERNAL"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_CC"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_BUILTIN_FILTERS"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_RGUI"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_MENU"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_NEON"/>
|
||||
<listOptionValue builtIn="false" value="RARCH_INTERNAL"/>
|
||||
<listOptionValue builtIn="false" value="RARCH_MOBILE"/>
|
||||
<listOptionValue builtIn="false" value="SINC_LOWER_QUALITY"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_FBO"/>
|
||||
@ -145,7 +147,7 @@
|
||||
<targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1497663639" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
|
||||
<builder buildPath="${workspace_loc:/RetroArch/Device-Release}" id="com.qnx.nto.379146748" keepEnvironmentInBuildfile="false" name="CDT Internal Builder" superClass="com.qnx.nto"/>
|
||||
<tool command="qcc" commandLinePattern="${COMMAND} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS} ${FLAGS}" id="com.qnx.qcc.tool.compiler.521537247" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
|
||||
<option id="com.qnx.qcc.option.compiler.optlevel.1293497463" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.3" valueType="enumerated"/>
|
||||
<option id="com.qnx.qcc.option.compiler.optlevel.1293497463" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.2" valueType="enumerated"/>
|
||||
<option id="com.qnx.qcc.option.compiler.includePath.1333983864" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/freetype2"/>
|
||||
<listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
|
||||
@ -153,6 +155,9 @@
|
||||
<option id="com.qnx.qcc.option.compiler.security.421937377" name="Enhanced Security (-fstack-protector-all)" superClass="com.qnx.qcc.option.compiler.security" value="false" valueType="boolean"/>
|
||||
<option id="com.qnx.qcc.option.compiler.defines.426935293" name="Defines (-D)" superClass="com.qnx.qcc.option.compiler.defines" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FORTIFY_SOURCE=2"/>
|
||||
<listOptionValue builtIn="false" value="RARCH_INTERNAL"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_CC"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_BUILTIN_FILTERS"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_RGUI"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_MENU"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_NEON"/>
|
||||
@ -269,6 +274,9 @@
|
||||
<option id="com.qnx.qcc.option.compiler.security.1305803908" name="Enhanced Security (-fstack-protector-all)" superClass="com.qnx.qcc.option.compiler.security" value="true" valueType="boolean"/>
|
||||
<option id="com.qnx.qcc.option.compiler.defines.213513124" name="Defines (-D)" superClass="com.qnx.qcc.option.compiler.defines" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FORTIFY_SOURCE=2"/>
|
||||
<listOptionValue builtIn="false" value="RARCH_INTERNAL"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_CC"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_BUILTIN_FILTERS"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_RGUI"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_MENU"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_NEON"/>
|
||||
@ -283,7 +291,7 @@
|
||||
<listOptionValue builtIn="false" value="HAVE_OPENGLES"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_OPENGLES2"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_NULLINPUT"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_ALSA"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_AL"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_THREADS"/>
|
||||
<listOptionValue builtIn="false" value="WANT_MINIZ"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_OVERLAY"/>
|
||||
@ -386,6 +394,9 @@
|
||||
<option id="com.qnx.qcc.option.compiler.security.521807592" name="Enhanced Security (-fstack-protector-all)" superClass="com.qnx.qcc.option.compiler.security" value="true" valueType="boolean"/>
|
||||
<option id="com.qnx.qcc.option.compiler.defines.1725725626" name="Defines (-D)" superClass="com.qnx.qcc.option.compiler.defines" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_FORTIFY_SOURCE=2"/>
|
||||
<listOptionValue builtIn="false" value="RARCH_INTERNAL"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_CC"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_BUILTIN_FILTERS"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_RGUI"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_MENU"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_NEON"/>
|
||||
@ -400,7 +411,7 @@
|
||||
<listOptionValue builtIn="false" value="HAVE_OPENGLES"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_OPENGLES2"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_NULLINPUT"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_ALSA"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_AL"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_THREADS"/>
|
||||
<listOptionValue builtIn="false" value="WANT_MINIZ"/>
|
||||
<listOptionValue builtIn="false" value="HAVE_OVERLAY"/>
|
||||
@ -500,10 +511,10 @@
|
||||
<scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.exe.profile.coverage.1511241566">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.exe.profile.coverage.511003583">
|
||||
<scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.exe.release.237026123">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.exe.release.237026123">
|
||||
<scannerConfigBuildInfo instanceId="com.qnx.qcc.configuration.exe.profile.coverage.511003583">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
|
@ -27,7 +27,7 @@
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildLocation</key>
|
||||
<value>${workspace_loc:/RetroArch/Device-Debug}</value>
|
||||
<value>${workspace_loc:/RetroArch/Device-Release}</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.contents</key>
|
||||
|
@ -25,7 +25,7 @@
|
||||
<buildId>1</buildId>
|
||||
|
||||
<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
|
||||
<versionLabel>"v0.9.9"</versionLabel>
|
||||
<versionLabel>"v1.0.2"</versionLabel>
|
||||
|
||||
<!-- Description, displayed in the BlackBerry Tablet OS application installer.
|
||||
May have multiple values for each language. See samples or xsd schema file. Optional. -->
|
||||
|
@ -211,31 +211,38 @@ static void qnx_input_autodetect_gamepad(input_device_t* controller)
|
||||
//BBBB is the device's Vendor ID (in hexadecimal)
|
||||
//CCCC is the device's Product ID (also in hexadecimal)
|
||||
//D.D is the device's version number
|
||||
#ifdef HAVE_BB10
|
||||
if (strstr(controller->id, "057E-0306"))
|
||||
{
|
||||
controller->device = DEVICE_WIIMOTE;
|
||||
strlcpy(controller->device_name, "Wiimote", sizeof(controller->device_name));
|
||||
}
|
||||
else if (strstr(controller->id, "0A5C-8502"))
|
||||
else
|
||||
#endif
|
||||
if (strstr(controller->id, "0A5C-8502"))
|
||||
{
|
||||
controller->device = DEVICE_KEYBOARD;
|
||||
strlcpy(controller->device_name, "BlackBerry BT Keyboard", sizeof(controller->device_name));
|
||||
}
|
||||
#ifdef HAVE_BB10
|
||||
else if (strstr(controller->id, "qwerty:bb35"))
|
||||
{
|
||||
controller->device = DEVICE_KEYPAD;
|
||||
strlcpy(controller->device_name, "BlackBerry Q10 Keypad", sizeof(controller->device_name));
|
||||
}
|
||||
#endif
|
||||
else if (strstr(controller->id, "BB-VKB"))
|
||||
{
|
||||
controller->device = DEVICE_NONE;
|
||||
strlcpy(controller->device_name, "None", sizeof(controller->device_name));
|
||||
}
|
||||
#ifdef HAVE_BB10
|
||||
else if (controller->id[0])
|
||||
{
|
||||
controller->device = DEVICE_UNKNOWN;
|
||||
strlcpy(controller->device_name, "Unknown", sizeof(controller->device_name));
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
controller->device = DEVICE_NONE;
|
||||
@ -589,7 +596,11 @@ static int16_t qnx_input_state(void *data, const struct retro_keybind **retro_ke
|
||||
case RETRO_DEVICE_JOYPAD:
|
||||
if(port_device[port])
|
||||
{
|
||||
if (port_device[port]->device == DEVICE_KEYBOARD || port_device[port]->device == DEVICE_KEYPAD)
|
||||
if (port_device[port]->device == DEVICE_KEYBOARD
|
||||
#ifdef HAVE_BB10
|
||||
|| port_device[port]->device == DEVICE_KEYPAD
|
||||
#endif
|
||||
)
|
||||
return ((port_device[port]->buttons & (1 << id)) && (port < pads_connected) );
|
||||
else{
|
||||
return ((port_device[port]->buttons & retro_keybinds[port][id].joykey) && (port < pads_connected));
|
||||
|
Loading…
Reference in New Issue
Block a user