mirror of https://github.com/stella-emu/stella.git
o enabled psp direction buttons for jostick one
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@761 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
61a32780be
commit
1c8cf4747f
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: EventHandler.cxx,v 1.93 2005-09-01 21:53:44 stephena Exp $
|
||||
// $Id: EventHandler.cxx,v 1.94 2005-09-04 13:26:44 optixx Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <algorithm>
|
||||
|
@ -1393,10 +1393,10 @@ void EventHandler::setDefaultJoymap()
|
|||
myJoyTable[i + 3] = Event::SaveState; // Square
|
||||
myJoyTable[i + 4] = Event::MenuMode; // Left trigger
|
||||
myJoyTable[i + 5] = Event::CmdMenuMode; // Right trigger
|
||||
// myJoyTable[i + 6] = Event::NoType // Down
|
||||
// myJoyTable[i + 7] = Event::NoType // Left
|
||||
// myJoyTable[i + 8] = Event::NoType // Up
|
||||
// myJoyTable[i + 9] = Event::NoType // Right
|
||||
myJoyTable[i + 6] = Event::JoystickZeroDown; // Down
|
||||
myJoyTable[i + 7] = Event::JoystickZeroLeft; // Left
|
||||
myJoyTable[i + 8] = Event::JoystickZeroUp; // Up
|
||||
myJoyTable[i + 9] = Event::JoystickZeroRight; // Right
|
||||
myJoyTable[i + 10] = Event::ConsoleSelect; // Select
|
||||
myJoyTable[i + 11] = Event::ConsoleReset; // Start
|
||||
myJoyTable[i + 12] = Event::NoType; // Home
|
||||
|
|
Loading…
Reference in New Issue