Fixed 'Assign_changes' usage for cellpad / padhandler

This commit is contained in:
Jake 2014-05-05 21:58:49 -05:00
parent 29cd11ad06
commit 199845a9d1
3 changed files with 10 additions and 8 deletions

View file

@ -215,7 +215,8 @@ public:
if(button.m_keyCode != code)
continue;
pad.m_port_status |= CELL_PAD_STATUS_ASSIGN_CHANGES;
//This is for reporting when a controller connects/disconnects, shouldn't be here
//pad.m_port_status |= CELL_PAD_STATUS_ASSIGN_CHANGES;
if(button.m_pressed && !pressed)
{
@ -232,8 +233,6 @@ public:
if (stick.m_keyCodeMax != code && stick.m_keyCodeMin != code)
continue;
pad.m_port_status |= CELL_PAD_STATUS_ASSIGN_CHANGES;
if (stick.m_keyCodeMax == code)
{
stick.m_min_pressed = false; //!!! need fix !!!