mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Emulated Wiimote: Added option to use Analog 2 for roll and pitch. Now you can use the regular controls on Analog 1 and roll and pitch on Analog 2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2240 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -16,12 +16,18 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
|
||||
#ifndef __SETUP_h__
|
||||
#define __SETUP_h__
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
// File description
|
||||
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
Compilation settings. This file can be kept on the ignore list in your SVN program. It
|
||||
allows local optional settings depending on what works on your computer.
|
||||
Compilation settings. I avoid placing this in Common.h or some place where lots of files needs
|
||||
to be rebuilt if any of these settings are changed. I'd rather have it in as few files as possible.
|
||||
This file can be kept on the ignore list in your SVN program. It allows local optional settings
|
||||
depending on what works on your computer.
|
||||
|
||||
////////////////////////*/
|
||||
|
||||
@ -43,4 +49,7 @@
|
||||
// Build with music modification
|
||||
//#define MUSICMOD
|
||||
|
||||
///////////////////////////
|
||||
///////////////////////////
|
||||
|
||||
|
||||
#endif // __SETUP_h__
|
@ -181,7 +181,8 @@ struct CONTROLLER_MAPPING_NEW // GC PAD MAPPING
|
||||
{
|
||||
PadAxis Axis; // (See above)
|
||||
bool enabled; // Pad attached?
|
||||
int deadzone; // Deadzone... what else?
|
||||
int DeadZoneL; // Analog 1 Deadzone
|
||||
int DeadZoneR; // Analog 2 Deadzone
|
||||
int ID; // SDL joystick device ID
|
||||
int controllertype; // D-Pad type: Hat or custom buttons
|
||||
int triggertype; // SDL or XInput trigger
|
||||
|
Reference in New Issue
Block a user