*** empty log message ***

This commit is contained in:
Aaron Robinson 2003-03-23 05:29:51 +00:00
parent 50c4169a23
commit 1b4279dfa1
1 changed files with 9 additions and 1 deletions

View File

@ -260,7 +260,15 @@ DWORD WINAPI xboxkrnl::EmuXXInputGetState
{ {
ZeroMemory(&pState->Gamepad, sizeof(pState->Gamepad)); ZeroMemory(&pState->Gamepad, sizeof(pState->Gamepad));
pState->Gamepad.sThumbLX = 10000; static int cur = -20000;
static int curs = 500;
cur += curs;
if(cur > 20000 || cur < -20000)
curs = -curs;
pState->Gamepad.sThumbLX = cur;
ret = ERROR_SUCCESS; ret = ERROR_SUCCESS;
} }