mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Some work towards better control handling, includes stickyfix from native
This commit is contained in:
1 parent
33abcdafd6
commit
afa21588d7
15 files changed
+49
-31
No files matched your search
@@ -1,7 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "XinputDevice.h"
|
||||
#include <limits.h>
|
||||
#include <iostream>
|
||||
|
||||
#include "XinputDevice.h"
|
||||
|
||||
#ifndef XUSER_MAX_COUNT
|
||||
#define XUSER_MAX_COUNT 4
|
||||
@@ -19,7 +18,7 @@ struct Stick {
|
||||
};
|
||||
static Stick NormalizedDeadzoneFilter(XINPUT_STATE &state);
|
||||
|
||||
int XinputDevice::UpdateState() {
|
||||
int XinputDevice::UpdateState(InputState &input_state) {
|
||||
if (this->check_delay-- > 0) return -1;
|
||||
XINPUT_STATE state;
|
||||
ZeroMemory( &state, sizeof(XINPUT_STATE) );
|
||||
|
||||
Reference in new issue
Block a user