dolphin/Source/Core/InputCommon/Src
Soren Jorvang a53d0cb6d5 The ControllerInterface API has the notion of an "id" which is presumably
meant as a ideally persistent device instance number.

In a dynamic environment such as when dealing with USB/bluetooth HID's,
I am not sure how much sense such an id can make and it would probably
be better to identify devices by an opaque blob (and a printable string).

In any case, the OS X HID manager does not offer the illusion of a
persistent integer instance identifier.

A string in the form of the device's own name is not sufficient as on
e.g. my Macbook Pro, there are three HID devices all bearing the name
"Apple Internal Keyboard / Trackpad".

For now, hijack the ControllerInterface id to mean the the HID usage
page number. This at least separates keyboards and pointing devices,
allowing the keyboard to be selected in the configuration dialog.

Also some minor cleanup.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5793 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-26 13:03:25 +00:00
..
ControllerInterface The ControllerInterface API has the notion of an "id" which is presumably 2010-06-26 13:03:25 +00:00
Configuration.cpp Warp back to 5578. Sorry for the lost changes, please re-apply. Reason: 5579 is a complete disaster. 2010-06-03 18:05:08 +00:00
ControllerEmu.cpp GCPad/New Wiimote Plugin: Individual keyboard and mouse devices are now listed on Windows(2 player with 2 keyboards possible). Improved the ability to map multiple inputs to the same control. Inputs from different devices can be mapped to the same button (example: Mouse Left and XInput A). More advanced mappings such as "Button 1 or 2 and NOT button 3" are possible. I hope the GUI after right clicking a button isn't too confusing(may change it to be a bit more user friendly). Hopefully, I didn't break OSX stuff by 'const'ing a few functions. 2010-06-21 03:12:16 +00:00
ControllerEmu.h GCPad/New Wiimote Plugin: Individual keyboard and mouse devices are now listed on Windows(2 player with 2 keyboards possible). Improved the ability to map multiple inputs to the same control. Inputs from different devices can be mapped to the same button (example: Mouse Left and XInput A). More advanced mappings such as "Button 1 or 2 and NOT button 3" are possible. I hope the GUI after right clicking a button isn't too confusing(may change it to be a bit more user friendly). Hopefully, I didn't break OSX stuff by 'const'ing a few functions. 2010-06-21 03:12:16 +00:00
DirectInputBase.cpp Warp back to 5578. Sorry for the lost changes, please re-apply. Reason: 5579 is a complete disaster. 2010-06-03 18:05:08 +00:00
DirectInputBase.h Warp back to 5578. Sorry for the lost changes, please re-apply. Reason: 5579 is a complete disaster. 2010-06-03 18:05:08 +00:00
GCPadStatus.h Rename pluginspecs_pad.h to GCPadStatus.h, and move it into InputCommon. 2010-06-13 09:26:00 +00:00
InputCommon.h (cleanup) Move WXInputBase into InputUICommon. Delete some leftovers from the last change. 2010-06-12 19:58:02 +00:00
InputConfig.cpp GCPad/New Wiimote Plugin: Individual keyboard and mouse devices are now listed on Windows(2 player with 2 keyboards possible). Improved the ability to map multiple inputs to the same control. Inputs from different devices can be mapped to the same button (example: Mouse Left and XInput A). More advanced mappings such as "Button 1 or 2 and NOT button 3" are possible. I hope the GUI after right clicking a button isn't too confusing(may change it to be a bit more user friendly). Hopefully, I didn't break OSX stuff by 'const'ing a few functions. 2010-06-21 03:12:16 +00:00
InputConfig.h (cleanup) Delete an awful global variable (g_plugin in ConfigDiag). Rename the Plugin class in InputConfig to InputPlugin, which is better but not ideal. 2010-06-12 18:45:39 +00:00
SConscript (cleanup) Move WXInputBase into InputUICommon. Delete some leftovers from the last change. 2010-06-12 19:58:02 +00:00
SDL_Util.cpp Hg: 2010-06-09 01:37:08 +00:00
SDL_Util.h Build GLEW, SDL and zlib as static libraries from Externals as with 2010-06-16 00:07:52 +00:00
X11InputBase.cpp Big restructuring of how the video plugin works. In linux and windows you shouldn't see a change in the functionality; however, there are changes in how render to main or not, and fullscreen modes, and such are handled. Input is largely restructured for the video plugin. It is now handled by the host. Keys for pausing and changing fullscreen are configurable. More will probably be later. This is probably classified as highly experimental. 2010-04-12 01:33:10 +00:00
X11InputBase.h Warp back to 5578. Sorry for the lost changes, please re-apply. Reason: 5579 is a complete disaster. 2010-06-03 18:05:08 +00:00
XInput_Util.cpp Hg: 2010-06-09 01:37:08 +00:00
XInput_Util.h Hg: 2010-06-09 01:37:08 +00:00