summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_GCPadNew
AgeCommit message (Collapse)Author
2010-06-26Lint.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5796 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-16Attempt to resolve the conflict between SDL/include and SDL/Include.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5717 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-13Merge the pad plugin into Dolphin. Since there's only one plugin left under ↵hrydgard
active development, and it's awesome, we no longer have a need for a pad plugin mechanism. In the future if we merge wiimote too, this will bring the advantage that the two will be able to cooperate, to no longer fight over control of input devices which can sometimes cause problems. Thanks shuffle2 for the patience. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5670 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-12Linux build fixGlenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5667 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-12(cleanup) Delete an awful global variable (g_plugin in ConfigDiag). Rename ↵hrydgard
the Plugin class in InputConfig to InputPlugin, which is better but not ideal. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5663 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-12unbreak build.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5662 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-12(cleanup) add some missing license headershrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5660 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-12Made GCPadNew load the same defaults as old GCPad if GCPadNew.ini doesn't ↵Jordan Woyak
exist. (haven't tested Linux/OS X) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5654 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-10Simplify the SCons build:Soren Jorvang
On OS X, build all code as Objective-C(++). Centralize framework handling. Cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5645 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-03Warp back to 5578. Sorry for the lost changes, please re-apply. Reason: ↵hrydgard
5579 is a complete disaster. Not only does it change tons of files to switch to a new and non-working (it doesn't parse my ini files, at least) ini parser, it also reshuffles a lot of code and removes a plugin. The latter part is fine, but doing these two major switches in one revision, one of which is broken, is completely unacceptable. I said to merge tiny changes, not massive reworkings. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5589 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-03Merge GCPadNew into Dolphin. This takes place in three segments: Core, ↵Shawn Hoffman
InputCommon, and InputUICommon. From now on it can be referred to just as "GCPad". Switch to Billiard's IniFile implementation throughout Dolphin (it's faster!!). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5579 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Meta:Soren Jorvang
Using Unix tools to operate on a tree containing filename with spaces in them is really annoying, so rename the handful of instances where there were spaces. Host.cpp has never been used. Games tend to lookup the following directories that we don't yet have anything to put in, so prepopulate them in Data/User/Wii: title/00010001 title/00010002 title/00010003 title/00010004 title/00010005 title/00010006 title/00010007 meta shared2/title Set eol-style native on a number of text files which didn't already have it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-24More improvements to new wiimote plugin: Added emulated Drums/Guitar ↵Jordan Woyak
extensions. Wiimote rumble now handled for every output report. Fixed some mem leaks. Hopefully fixed a floating point exception in Linux, thanks to glennrics. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5403 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-23osx buildfixShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5402 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-23Get the wiimote new plugin working in linux. Wiimote emulation works at ↵Glenn Rice
least. Real wiimotes don't. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5399 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-19Build fix for the NoGUI build.Glenn Rice
Also removed a few compiler warning while I was at it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5387 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-14Fixed GCPadNew GUI, clicking Set is no longer needed after choosing items ↵Jordan Woyak
from the list on Linux. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5370 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-14Moved InputPluginCommon into the Plugins directory. I don't think it made ↵Jordan Woyak
sense in Core. Some minor fixes to the new wiimote plugin also. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5362 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-13Hopefully fixed "RendererHasFocus()" on windows. Input should work again.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5359 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-13Linux compile fix for billard's changes. nakeee
(Had to do it myself since glen is now a windows person :P) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5356 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-13Commited my new wiimote plugin work so far. Some code was copied from the ↵Jordan Woyak
current wiimote plugin. I have cleaned up most of the functions, but there are still a bunch of unused structs and stuff that I need to clean up. Moved ControllerInterface to InputCommon. Moved GCPadNew GUI/Config code to a new project, InputPluginCommon. It is used by both GCPadNew and WiimoteNew. I hope that I included everyone's fixes to GCPadNew and ControllerInterface. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5355 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-12Fix some segmentation faults with the GCPadNew configuration dialog.Glenn Rice
Also improve the visual appearance in linux. I think I have done so without hurting the appearance in windows. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5348 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-12Big restructuring of how the video plugin works. In linux and windows you ↵Glenn Rice
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. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5336 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10Make sure Keyboard::Key::GetState returns either 0 or 1 in linux to make ↵Glenn Rice
sure key presses are registered. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5325 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10Fix some not-so-obvious breakage in Frame.cpp, removed Xlib from the build ↵j4ck.fr0st
(its only for non-win32) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5321 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10Get GCPadNew keyboard working in linux. Also some code cleanup.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5320 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-08Fix an issue introduced in revision 5290 that caused a segmenation fault ↵Glenn Rice
when GCPadNew was used in linux. The same issue made the IsFocus function useless in windows. The g_PADInitialize was never initialized. Also added Xlib.cpp to the linux build. It is completely non-functional but it builds. Finally, did some clean up of GCPadNew.cpp. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5298 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-08GCPadNew: Added option to disable input when Dolphin window isn't active. ↵Jordan Woyak
Some other minor fixes/cleanups. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5290 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-06fixed gcpad new to work with certain devices that need reaquiring of the ↵luisr142004
device when inputlost is returned, billiard gave me the code :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5287 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-02Start work of OSX keyboard input, doesn't work, so it's currently disabled, ↵Sonicadvance1
but it's a beginning. Also changed variable 'id' to 'cid' because id is a object type in Obj-C, which I was running in to problems with, kept it that way just in case. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5269 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-02A few changes to the GCPadNew needed to compile in linux, and put GCPadNew ↵Glenn Rice
back into the linux build. Also changed file properties to eol-style native. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5268 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-02GCPadNew now compiles with SDL 1.2, disabling haptic features.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5267 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-01Remove GCPadNew from the linux build until I get a chance to fix it.Glenn Rice
It breaks the linux build now. SDL version 1.3.0, which includes SDL_haptic, is not available for most linux distributions at this time. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5264 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-01NewGCPad: Sliders should be functional on DirectInput, also Axes renamed. ↵Jordan Woyak
XInput devices won't have their limited DirectInput counterparts listed. Minor cleanup, warning removal. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5260 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-01Fix pad working in OSXSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5259 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-01Clean up of new Plugin, get it compiling in Linux/OSX, Linux side, you need ↵Sonicadvance1
to add the Xlib portion to SConscript git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5258 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-30Plugin that should eventually replace the GCPad and emulated Wiimote plugin:Jordan Woyak
It's currently only really usable on Windows. Linux/OS X will need keyboard support added in, but SDL should work for joysticks on non-Windows without too many modifications. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5254 8ced0084-cf51-0410-be5f-012b33b47a6e