mirror of https://github.com/PCSX2/pcsx2.git
misc: Cleanup remaining pad stuff from merge. (#4014)
This commit is contained in:
parent
ee890c508e
commit
6a7648d2b0
|
@ -12,7 +12,7 @@ on:
|
|||
- .clang-format
|
||||
- debian-packager/
|
||||
- bin/PCSX2_keys.ini.default
|
||||
- "plugins/LilyPad/**"
|
||||
- "pcsx2/PAD/Windows/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
@ -22,7 +22,7 @@ on:
|
|||
- .clang-format
|
||||
- debian-packager/
|
||||
- bin/PCSX2_keys.ini.default
|
||||
- "plugins/LilyPad/**"
|
||||
- "pcsx2/PAD/Windows/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -12,7 +12,7 @@ on:
|
|||
- .clang-format
|
||||
- debian-packager/
|
||||
- bin/PCSX2_keys.ini.default
|
||||
- "plugins/LilyPad/**"
|
||||
- "pcsx2/PAD/Windows/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
@ -22,7 +22,7 @@ on:
|
|||
- .clang-format
|
||||
- debian-packager/
|
||||
- bin/PCSX2_keys.ini.default
|
||||
- "plugins/LilyPad/**"
|
||||
- "pcsx2/PAD/Windows/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -12,8 +12,7 @@ on:
|
|||
- .clang-format
|
||||
- debian-packager/
|
||||
- bin/PCSX2_keys.ini.default
|
||||
- "plugins/onepad/**"
|
||||
- "plugins/onepad_legacy/**"
|
||||
- "pcsx2/PAD/Linux/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
@ -23,8 +22,7 @@ on:
|
|||
- .clang-format
|
||||
- debian-packager/
|
||||
- bin/PCSX2_keys.ini.default
|
||||
- "plugins/onepad/**"
|
||||
- "plugins/onepad_legacy/**"
|
||||
- "pcsx2/PAD/Linux/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -2,14 +2,12 @@
|
|||
# You should first copy PCSX2_keys.ini.default to the inis folder, then
|
||||
# rename it to PCSX2_keys.ini, and then edit it.
|
||||
|
||||
# Important: keys which are defined at the input plugin (LilyPad) will override
|
||||
# shortcuts at this file.
|
||||
# Important: PAD bindings will override shortcuts at this file.
|
||||
|
||||
# IMPORTANT: GSdx has fixed shortcuts. Make sure your shortcuts don't conflict.
|
||||
# Also, they will affect GSdx also when alt/ctrl/shift are pressed, so it's
|
||||
# best to completely avoid them at this file. GSdx uses:
|
||||
# F5 - Deinterlace modes
|
||||
# F7 - Internal "TV-like" shaders
|
||||
# PAGE_UP - FXAA antialiasing (HW and SW)
|
||||
# PAGE_DOWN - Cycles through dither modes (HW)
|
||||
# DELETE - Software Antialiasing (AA1)
|
||||
|
|
2
build.sh
2
build.sh
|
@ -107,7 +107,7 @@ run_cppcheck()
|
|||
|
||||
check="--enable=warning,style,missingInclude"
|
||||
|
||||
for d in pcsx2 common plugins/GSdx plugins/onepad
|
||||
for d in pcsx2 common plugins/GSdx
|
||||
do
|
||||
flat_d=$(echo $d | sed -e 's@/@_@')
|
||||
log=cpp_check__${flat_d}.log
|
||||
|
|
|
@ -47,7 +47,7 @@ option(DISABLE_SETCAP "Do not set files capabilities")
|
|||
option(XDG_STD "Use XDG standard path instead of the standard PCSX2 path")
|
||||
option(EXTRA_PLUGINS "Build various 'extra' plugins")
|
||||
option(PORTAUDIO_API "Build portaudio support on spu2x" ON)
|
||||
option(SDL2_API "Use SDL2 on spu2x and onepad (wxWidget mustn't be built with SDL1.2 support" ON)
|
||||
option(SDL2_API "Use SDL2 on SPU2 and PAD Linux (wxWidget mustn't be built with SDL1.2 support" ON)
|
||||
option(GTK2_API "Use GTK2 api (legacy)")
|
||||
|
||||
if(PACKAGE_MODE)
|
||||
|
|
|
@ -8,11 +8,11 @@ Copyright:
|
|||
2010-2012 Miguel Colon <debian.micove@gmail.com>
|
||||
License: LGPL-3
|
||||
|
||||
Files: pcsx2/* common/* plugins/PadNull/Pad* plugins/GSnull/*
|
||||
Files: pcsx2/* common/* plugins/GSnull/*
|
||||
Copyright: 2002-2012 PCSX2 Dev Team
|
||||
License: LGPL-3+
|
||||
|
||||
Files: pcsx2/Mdec.cpp pcsx2/Mdec.h pcsx2/RDebug/deci2_drfp.cpp pcsx2/IPU/mpeg2lib/* pcsx2/cheatscpp.h common/include/api/* plugins/onepad/* plugins/PadNull/Linux/* plugins/SPU2null/* plugins/GSnull/Registers.h plugins/GSnull/Linux/Linux* plugins/GSnull/Linux/Config*
|
||||
Files: pcsx2/Mdec.cpp pcsx2/Mdec.h pcsx2/RDebug/deci2_drfp.cpp pcsx2/IPU/mpeg2lib/* pcsx2/cheatscpp.h common/include/api/* plugins/GSnull/Registers.h plugins/GSnull/Linux/Linux* plugins/GSnull/Linux/Config*
|
||||
Copyright: 2002-2012 PCSX2 Dev Team
|
||||
License: GPL-2+
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ PARSE_EXTS=true
|
|||
# file types to parse. Only effective when PARSE_EXTS is true.
|
||||
FILE_EXTS=".c .h .cpp .hpp .inl"
|
||||
|
||||
ALLOWED_ROOT_DIR="./plugins/GSnull ./plugins/PadNull ./plugins/LilyPad/ ./plugins/onepad/ ./common"
|
||||
ALLOWED_ROOT_DIR="./plugins/GSnull ./common"
|
||||
|
||||
##################################################################
|
||||
# There should be no need to change anything below this line.
|
||||
|
|
|
@ -87,7 +87,6 @@ Function TempFilesOut
|
|||
File /nonfatal ..\bin\Plugins\gsdx32-sse2.dll
|
||||
File /nonfatal ..\bin\Plugins\gsdx32-sse4.dll
|
||||
File /nonfatal ..\bin\Plugins\gsdx32-avx2.dll
|
||||
File /nonfatal ..\bin\Plugins\lilypad.dll
|
||||
|
||||
SetOutPath "$TEMP\PCSX2 ${APP_VERSION}\Langs"
|
||||
File /nonfatal /r ..\bin\Langs\*.mo
|
||||
|
|
|
@ -102,10 +102,10 @@ private:
|
|||
static const int CONTROLLER_PORT_TWO = 1;
|
||||
|
||||
// 0x42 is the magic number to indicate the default controller read query
|
||||
// See - Lilypad.cpp::PADpoll - https://github.com/PCSX2/pcsx2/blob/v1.5.0-dev/plugins/LilyPad/LilyPad.cpp#L1193
|
||||
// See - PAD.cpp::PADpoll - https://github.com/PCSX2/pcsx2/blob/master/pcsx2/PAD/Windows/PAD.cpp#L1255
|
||||
static const u8 READ_DATA_AND_VIBRATE_FIRST_BYTE = 0x42;
|
||||
// 0x5A is always the second byte in the buffer when the normal READ_DATA_AND_VIBRATE (0x42) query is executed.
|
||||
// See - LilyPad.cpp::PADpoll - https://github.com/PCSX2/pcsx2/blob/v1.5.0-dev/plugins/LilyPad/LilyPad.cpp#L1194
|
||||
// See - PAD.cpp::PADpoll - https://github.com/PCSX2/pcsx2/blob/master/pcsx2/PAD/Windows/PAD.cpp#L1256
|
||||
static const u8 READ_DATA_AND_VIBRATE_SECOND_BYTE = 0x5A;
|
||||
|
||||
// DEPRECATED: Slated for removal
|
||||
|
|
|
@ -515,7 +515,7 @@ namespace usb_pad
|
|||
mapping->devName = devName;
|
||||
mapping->hidPath = devName;
|
||||
}
|
||||
//TODO get real dev name, probably from registry (see lilypad)
|
||||
//TODO get real dev name, probably from registry (see PAD Windows)
|
||||
if (!mapping->devName.length())
|
||||
mapping->devName = devName;
|
||||
|
||||
|
|
|
@ -649,12 +649,6 @@ void Pcsx2App::CleanupOnExit()
|
|||
Console.Indent().Error(ex.FormatDiagnosticMessage());
|
||||
}
|
||||
|
||||
// Notice: deleting the plugin manager (unloading plugins) here causes Lilypad to crash,
|
||||
// likely due to some pending message in the queue that references lilypad procs.
|
||||
// We don't need to unload plugins anyway tho -- shutdown is plenty safe enough for
|
||||
// closing out all the windows. So just leave it be and let the plugins get unloaded
|
||||
// during the wxApp destructor. -- air
|
||||
|
||||
// FIXME: performing a wxYield() here may fix that problem. -- air
|
||||
|
||||
pxDoAssert = pxAssertImpl_LogIt;
|
||||
|
|
|
@ -321,8 +321,6 @@ namespace Implementations
|
|||
// the content stays on screen. Try to prevent that by first exiting fullscreen,
|
||||
// but don't update the internal PCSX2 state/config, and PCSX2 will restore
|
||||
// fullscreen correctly when emulation resumes according to its state/config.
|
||||
// This is similar to what LilyPad's "Safe fullscreen exit on escape" hack does,
|
||||
// and thus hopefully makes LilyPad's hack redundant.
|
||||
gsframe->ShowFullScreen(false, false);
|
||||
}
|
||||
|
||||
|
@ -352,11 +350,10 @@ namespace Implementations
|
|||
{
|
||||
// aborting suspend request
|
||||
// Note: if we didn't want to suspend emulation for this confirmation dialog,
|
||||
// and if LilyPad has "Safe fullscreen exit on ESC", then pressing ESC would
|
||||
// have exited fullscreen without PCSX2 knowing about it, and since it's not
|
||||
// suspended it would not re-init the fullscreen state if the confirmation is
|
||||
// aborted. On such case we'd have needed to set the gsframe fullscreen mode
|
||||
// here according to g_Conf->GSWindow.IsFullscreen
|
||||
// then pressing ESC would have exited fullscreen without PCSX2 knowing about it,
|
||||
// and since it's not suspended it would not re-init the fullscreen state if the
|
||||
// confirmation is aborted. On such case we'd have needed to set the gsframe
|
||||
// fullscreen mode here according to g_Conf->GSWindow.IsFullscreen
|
||||
CoreThread.Resume();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue