mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
handle some warnings
This commit is contained in:
parent
d9ab2c7104
commit
34964e0e4f
13 changed files with 45 additions and 39 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "ds4_pad_handler.h"
|
||||
#include "ds4_pad_handler.h"
|
||||
|
||||
#include <thread>
|
||||
|
||||
|
|
@ -494,7 +494,7 @@ void ds4_pad_handler::ProcessDataToPad(const std::shared_ptr<DS4Device>& device,
|
|||
#endif
|
||||
|
||||
// used to get the absolute value of an axis
|
||||
s32 stick_val[4];
|
||||
s32 stick_val[4]{0};
|
||||
|
||||
// Translate any corresponding keycodes to our two sticks. (ignoring thresholds for now)
|
||||
for (int i = 0; i < static_cast<int>(pad->m_sticks.size()); i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue