mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Started working on the look of the padsimple config dialog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@641 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -16,6 +16,8 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
// controls
|
||||
#ifndef __PADSIMPLE_H__
|
||||
#define __PADSIMPLE_H__
|
||||
enum
|
||||
{
|
||||
CTL_A = 0,
|
||||
@ -74,6 +76,35 @@ static const char* controlNames[] =
|
||||
"D-Pad_right",
|
||||
};
|
||||
|
||||
// control human readable
|
||||
static const char* userControlNames[] =
|
||||
{
|
||||
"A",
|
||||
"B",
|
||||
"X",
|
||||
"Y",
|
||||
"Z",
|
||||
"Start",
|
||||
"Analog", // Don't use
|
||||
"L",
|
||||
"Analog", // Don't use
|
||||
"R",
|
||||
"Up",
|
||||
"Down",
|
||||
"Left",
|
||||
"Right",
|
||||
"Soft_main_switch", // Don't use
|
||||
"Up",
|
||||
"Down",
|
||||
"Left",
|
||||
"Right",
|
||||
"Soft_sub_switch", // Don't use
|
||||
"Up",
|
||||
"Down",
|
||||
"Left",
|
||||
"Right",
|
||||
};
|
||||
|
||||
struct SPads {
|
||||
bool type; //keyboard = 0, xpad = 1
|
||||
int XPad; //player# of the xpad
|
||||
@ -87,3 +118,5 @@ extern SPads pad[];
|
||||
|
||||
void LoadConfig();
|
||||
void SaveConfig();
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user