Commit Graph

428 Commits

Author SHA1 Message Date
hrydgard d3f7349692 pow is total overkill for x*x, introduce pow2 inline function to fix it.
fix a warning.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:17:26 +00:00
hrydgard 6cd34b318f The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :(

Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:04:52 +00:00
John Peterson e0593b1041 Emulated Wiimote: Fixed the Nunchuck calibration, for recording playback for example
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2317 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 13:14:23 +00:00
John Peterson 489816dce7 Emulated Wiimote: Updated the accelerometer recording to record the gravity forces in all directions instead of recording raw data, to bypass problem of different Wiimotes having different neutral values
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 09:57:17 +00:00
magumagu9 cefa910d92 Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:49:57 +00:00
John Peterson 59734ddc86 Emulated Wiimote: Added game specific Wiimote cursor configuration. The IR pointer settings will be saved for the ISO id of the ISO that is loaded. This is necessary because there is no common way of treating the IR pointer positions. The IR data use a virtual resolution of 1024 x 768, but there is no consistency of where such a point is on the screen.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2314 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:13:22 +00:00
tmator 73a6ae2592 finish to fix nowx, is it work on linux ?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2294 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:15:27 +00:00
tmator 7a03ffe210 try to fix nowx wiimote
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2293 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:06:40 +00:00
John Peterson 7218a070e6 Emulated Wiimote: Fixed typo in last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2288 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 11:25:18 +00:00
John Peterson 12a869304c Emulated Wiimote: Fixed a bug that would make PadMapping[0].ID = -1, that would lead to a segmentation fault in Linux when we tried to access joyinfo[-1]
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2287 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 11:16:59 +00:00
tmator cf8220dc9c fix osx build, and first step to get real wiimotes on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:12:00 +00:00
John Peterson a92444d3cc Emulated Wiimote: Added the pitch left and pitch right keyboard input to the GUI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2275 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 09:25:22 +00:00
John Peterson 55b7e79d49 Emulated Wiimote: Collected all system specific keyboard input functions to one multi system function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2270 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 22:23:59 +00:00
John Peterson b53c30ad25 Emulated Wiimote and SimplePad: Build fixes for Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2264 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 19:25:23 +00:00
John Peterson 9041485a73 Emulated Wiimote: Forgot one variable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2263 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:57:43 +00:00
John Peterson ec7b83c688 Emulated Wiimote: Added default key settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2262 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:57:00 +00:00
John Peterson 47c7e9fe99 Emulated Wiimote GUI: Reorganized controls
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2261 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:44:29 +00:00
John Peterson a8e35e976a Emulated Wiimote: Added customizable controls for the Wiimote and the Nunchuck
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2259 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:23:42 +00:00
omegadox 71d9832004 Linux compile fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2246 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 05:43:48 +00:00
John Peterson cf068ebb06 Emulated Wiimote: Forgot to check that we have a gamepad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2245 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 02:26:30 +00:00
John Peterson 72112584de Emulated Wiimote: Forgot a few ifdefs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2244 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 02:06:07 +00:00
John Peterson 34dbb40ef5 Emulated Wiimote: Added option to use analog controls for the Nunchuck stick
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2243 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 02:01:43 +00:00
John Peterson ae9bb905bf Emulated Wiimote: Fixed the concurrent playback of Wiimote and Nunchuck movements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2242 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 19:36:25 +00:00
John Peterson 7c638f3a51 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
2009-02-14 13:03:21 +00:00
John Peterson 79947e5d29 Emulated Wiimote: Added dead zone option for the gamepad input
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2237 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 01:15:35 +00:00
John Peterson 57c4620902 Emulated Wiimote: Fixed the upside down mode for roll and pitch, 360° roll and pitch is now emulated by an analog gamepad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 16:43:35 +00:00
John Peterson eb1c6163f7 Emulated Wiimote: Enabled the roll and pitch function again (I had accidently disabled it in the last commit)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2220 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 10:49:38 +00:00
John Peterson b932a53b68 Emulated Wiimote: Fixed the angles to x, y, z values conversion. There's just one thing left to fix before the combined roll and pitch works, when roll is more than 90 pitch has to be changed from for example 15 to -165 or something like that. Until I figure that out you can use the emulated roll and pitch separately by setting the range of either one of them to zero.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2219 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 08:46:48 +00:00
John Peterson 9651a30c1b Wiimote: Disabled the combined pitch and roll option that was not ready yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2217 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 10:47:50 +00:00
John Peterson 68f39cb287 nJoy:
1. Circumvent the IDirectInputDevice2::SetDataFormat() error when opening the configuration window to.

2. Fixed the Allow out of focus input option again

3. Allow changing of the mapped pads while a game is running

4. Prevented crashes or problems from any combination of having the configuration window open when a game is started or stopped

5. Fixed a crash that would occur after nJoy was started with a connected pad, then stopped, and all pads disconnected, then started again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 10:30:02 +00:00
John Peterson 5ba51ed789 Wiimote: Fixed crash that would occur if no gamepad was detected
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2211 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 20:20:52 +00:00
John Peterson c1214d2026 Wiimote: Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2210 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 18:46:39 +00:00
John Peterson 88d41e3ff4 Wiimote: Non-windows compilation fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2209 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 18:36:37 +00:00
John Peterson 516a14150a Wiimote: Improved the emulated Wiimote, added gamepad controls for analog tilting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2207 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 17:25:08 +00:00
John Peterson c18613a580 nJoy: Fixed the Hat / Custom D-Pad setting in the save by slot mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2194 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 00:41:43 +00:00
nakeee 4200f69c5a fix unresolved symbols
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2188 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:19:35 +00:00
John Peterson b59d023cbf Wiimote: Build fix, forgot to recomment a logging function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2186 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:01:02 +00:00
John Peterson 5edef94753 SimplePad: Added input recording options to the GUI, now we just need to get rerecording to work to, perhaps one can rewind the input counter when a state is loaded? So the input counter is saved in the savestate for the pad.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2184 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:06:27 +00:00
daco65 2ff2852771 Njoy: added an option to choose what kind of analog filtering you want. it should be changeable when you choose to view advanced settings. this solved my analog/digital config problems i had and it *should* still work for those who had np with Jpeterson's change. i was told the wiimote had the same problem (makes sense) but im not sure if alot of ppl had that problem with their controllers so i have kept it as an ini changeable option only (set AdvancedMapFilter to True to use the same filtering as Njoy 0.3 does with AdvancedMapFilter enabled.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 18:43:03 +00:00
John Peterson 1fbebb4ce1 Wiimote: Configure gamepad in Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2172 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 13:10:29 +00:00
John Peterson 2757dbe2a8 InputCommon and Wiimote: Detect pads in the Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2151 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 15:39:28 +00:00
John Peterson 5045119da3 Wiimote: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2143 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 12:31:07 +00:00
John Peterson ca0e807db6 Wiimote: Fixed the speaker status bar status, the status is [Green] [Blue] [Green] that means [On/Off] [Muted/Unmuted] [Activity]
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2142 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 12:27:04 +00:00
John Peterson e926bc61d1 Wiimote: Added logging messages for the speaker configuration and for the 0x18 sound reports, the speaker currently produce a low humming noise in the wpad tools demo, but no real sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:15:55 +00:00
John Peterson 60e89dfc6f nJoy: Fixed bug that would cause the settings to be lost when nJoy was started without any detected gamepad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2131 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 05:57:28 +00:00
John Peterson 382b4af74b Wiimote: Fixed the dual mode bug I mentioned in the last commit, now the Nunchuck should not get stuck when switching between the real and emulated Nunchuck. The only important problem left is disconnect problem that occurs about one in five times you switch to the real wiimote.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2130 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 04:19:52 +00:00
John Peterson fcdd2a8e17 Wiimote:
1. Fixed the dual mode. You should now be able to change between the real and emulated Wiimote at any time, even when the Nunchuck is connected. It also supports third party Wireless Nunchucks that never sends any calibration values. The Nunchuck status should be automatically updated. The Nunchuck stick may get stuck, but that should fix itself if you disconnect and reconnect again. The only important problems seems to be that the real Wiimote fails to answer sometimes so that the Core functions disconnect it.

2. Began looking at how to reconnect the Wiimote after an unwanted HCI disconnect command

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 03:16:41 +00:00
John Peterson 5df69d0384 Wiimote Configuration: Changed the height of the configuration window to 748 pixels, that should give enough room for it inside a 768 pixels screen height.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2123 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 07:09:21 +00:00
John Peterson 6f39549842 Wiimote: Changed a %s to a %u that could cause a crash in WII_IPC_HLE_WiiMote.cpp. Made the configuration window center only if there is room for it, that should fix issue 557.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2122 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 07:03:09 +00:00
John Peterson 79f56c9e97 Wiimote: Added GUI controls for gamepad input, not connected yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2121 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 06:15:59 +00:00
XTra.KrazzY 7cc80c32f9 Fixed Wiimote config window closing (Don't use EndModal if you aren't using ShowModal)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2117 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-05 05:44:16 +00:00
John Peterson 3d73d781ec Wiimote: Reset variables on Shutdown(). I think this makes DoesChannelExist(scid) in the Core to return false.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2116 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-05 00:13:38 +00:00
John Peterson c9c95534c8 Wiimote: Added timeout for Eeprom data reading, it should fail very rarely, but if it would we now stop waiting for it after two seconds. If it fails it will break the functionality of the real wiimote because g_WiiMotes[i]->ReadData() will not be called by ReadWiimote_ThreadFunc() while we are waiting for it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2115 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-05 00:02:54 +00:00
Shawn Hoffman 7b7cfa940e remove stuff from ogl debugger that did nothing. (copied from dsp hle a while ago)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2111 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:33:59 +00:00
John Peterson c43d8e9dcd Wiimote: Added new gamepad controller options to the GUI, they are not connected yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2108 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 13:35:28 +00:00
John Peterson cf303e70e9 Wiimote: Show the decrypted Nunchuck calibration values in the log when a real Wiimote and Nunchuck is used. Fixed an earlier bug that made the neutral emulated nunchuck accelerometer values zero, now they are back to 0x80,0x80,0xb3.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2104 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 06:40:05 +00:00
magumagu9 4307803090 A bit more _MSC_VER cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2100 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 01:55:24 +00:00
John Peterson ec39c45dd5 Wiimote: Added decryption function, it could be useful for debugging real Wiimote extensions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2099 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 00:06:11 +00:00
nakeee c10d69fe07 more MSC_VER
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2098 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 23:25:30 +00:00
nakeee 25b7942de2 real Wiimote connects on linux (thanks sonic1!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2097 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 23:05:31 +00:00
nakeee 9981670e37 removed more MSV_VER
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2095 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:46:18 +00:00
nakeee a1b7a91348 I mean * honestly :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2094 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:09:13 +00:00
nakeee bde4241e9e fixed underrun buffer in hle on linux
made wiimote compile on linux again


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2093 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:06:18 +00:00
John Peterson 4660943322 Wiimote: Added option to record adjusted wiimote accelerometer values
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2089 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 11:45:59 +00:00
John Peterson 1ead45ca04 Wiimote: Fixed slight oversight in the last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2086 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 09:39:35 +00:00
John Peterson 5972f886ab Wiimote: Fixed the hanging for real. Any call to a function in the wxDialog frame class while the main thread is in a WaitForSingleObject() loop or any other loop will hang the g_pReadThread execution until sometime after that loop has ended. So we must wait for pReadThread to stop from the wxDialog with a timer, we can not use any loop in the main thread to wait for it to stop.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2083 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 07:43:52 +00:00
John Peterson d6c0d5b977 Wiimote: Fixed semi-frequent hanging that would occur when closing the configuration window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2080 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 04:03:56 +00:00
John Peterson 4f4469545e Wiimote: Made the GUI slightly more user friendly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2079 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 03:47:13 +00:00
John Peterson 220eafad0e Wiimote: The first working IR recording, use Alt + the numerical HotKey to play back the IR data associated with a recording
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2078 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 00:59:26 +00:00
John Peterson 4b21fa46d5 PadSimple and Wiimote: Changed return false to return true for the ifdef option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2063 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 16:32:31 +00:00
John Peterson ad995a68ea PadSimple and Wiimote: Change to last commit, changed the ifdef since IsFocus() was already in an ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2061 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:58:33 +00:00
John Peterson d352372ccf Wiimote: Don't allow input when Dolphin is not in focus (supports both the rendering to main window and render to separate window options)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2057 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:40:13 +00:00
John Peterson e9036455d6 Wiimote: Fixed the shared eeprom settings, now the first 42 bytes are shared in dual mode. I'm only copying the data from the Wiimote. I'm not changing anything on the Wiimote eeprom.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2056 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:58:44 +00:00
John Peterson 888465868d Wiimote: Fixed the switching between real and emulated wiimote, the reporting mode is now shared in real/emu dual mode, the accelerator neutral values are shared, the extension is somewhat shared but still doesn't support unplugging and reinserting the extension during gameplay in dual mode. Improved debugging, fixed a bug in movement recording, fixed a bug in report 0x21 eeprom reading so that the game reads the accelerator neutral values from it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2048 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 13:01:50 +00:00
John Peterson 6c7e674e69 Emulated Wiimote: Don't report IR positions outside the screen (leave them at 0xff), don't report A and B button mouse clicks when the cursor is outside the screen
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2042 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 01:18:57 +00:00
John Peterson d3677a0247 Wiimote: Fixed a few non-Windows compile problems, could not fix all
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2037 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 13:52:27 +00:00
John Peterson f813454d76 Wiimote: Fix to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2034 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 08:51:23 +00:00
John Peterson a35579c40b Wiimote:
1. First test version of movement recording (play back recordings with Shift + 0-9 or Ctrl + 0-9)

2. Really fixed the problem that the Wiimote get stuck on rumble when a game is stopped (sorry about that)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2033 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 08:35:29 +00:00
Shawn Hoffman 121be22532 buildfix and some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2026 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:51:05 +00:00
John Peterson 30523b570c Wiimote: Avoid the possibility of causing a constant rumble when a game is closed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2025 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:28:34 +00:00
John Peterson 2f0993bb6e Wiimote: Another one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2024 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:18:47 +00:00
John Peterson 41b8bb0d25 Wiimote: Change to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2023 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:17:01 +00:00
John Peterson 8d08faee2c Wiimote: Small change to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2022 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:14:51 +00:00
John Peterson 946fb12752 Wiimote: Partial work on movement recording (not working yet)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:09:08 +00:00
nakeee 356db07cbf fixed compile,
fixed crash,
added panicalert`


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2017 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 16:27:01 +00:00
John Peterson bc6bbafb95 Wiimote: Added status bars for the real Wiimote to the configuration menu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2016 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 14:13:27 +00:00
nakeee 3997602e5a case fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2015 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 11:36:25 +00:00
John Peterson 5ba7952988 Wiimote: Fixed Issue 517
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2014 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 07:29:04 +00:00
John Peterson b0736a1508 Wiimote: Fixed the switch during gameplay option. The only issue left seems to be that the real wiimote sometimes doesn't get the correct reporting mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2013 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 07:01:43 +00:00
John Peterson 3c4a73d5a6 Core and PluginManager: Fixed Stop and Start again, the video plugin needed to be completely reset
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 01:14:04 +00:00
John Peterson 8eeb1d0202 Wiimote: Switch between emulated and real Wiimote during gameplay.
Notice: It's currently not very user friendly and can crash or fail under some circumstances. I'll make it better momentarily. You currently have to first open the Wiimote config window and the start a game to be able to use switch back and forth after that.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2011 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-25 23:07:15 +00:00
omegadox fb3e523401 some more warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 01:50:23 +00:00
omegadox 8f98f0b778 Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
John Peterson 4eb4480b43 Last commit: Missing files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1890 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:41:20 +00:00
John Peterson ae9cfbd8e3 Common: Moved Windows console functions to common
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:28:09 +00:00
LPFaint99 7afc53c3a1 Revert r1861
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 02:58:34 +00:00
Shawn Hoffman ba8c2aa7e4 nakee's work on dolphin events. Also get wxw out of logmanager. This commit wants your comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:48:15 +00:00
LPFaint99 f1a3bc1397 Move #include <window.h> from all files that include it and common.h to common.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 04:23:26 +00:00
nakeee bf18502077 ADding functions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1828 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 12:12:15 +00:00
daco65 ef53bfe3fc nobody saw that silly typo! >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1823 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 20:50:56 +00:00
daco65 8c8ec9d155 wiimote build fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1822 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 20:45:43 +00:00
John Peterson 727cef5fcd Wiimote: Forgot to remove this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1819 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 09:09:07 +00:00
nakeee 5d961c03ef new compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1817 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 08:44:57 +00:00
John Peterson fa27a97fbb Wiimote:
1) I fixed the emulated Nunchuck in Zelda - TP, however I chose the minimum workable delay time that worked in my PC, in fact it's so short that the Nunchuck still fails sometimes. If you have a very fast PC or something like that so that the Nunchuck still don't work please let me know.

2) I also made the Wiimote work after Stop and Start

3) I changed /Dev/USB to initialize the emulated Wiimote directly after ScanEnable, not wait for any countdown

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1814 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 02:59:19 +00:00
nakeee 734c776a18 Clean up wiimote ifdefs a bit
donno what with svn and padsimpleevnt


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1678 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:53:32 +00:00
facugaich 3be88bb2dd - Janitorial tasks
- Bugfix in ARCode/Patch editor


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1612 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 18:46:49 +00:00
nakeee 62d44c9166 Clear errors, fixed unload on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1566 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 17:49:38 +00:00
Shawn Hoffman 4a5d9ded94 namespace-ified ActionReplay, and made ISOProperties use the existing AR code. bonus: encrypted arcodes are saved as unencrypted codes just by closing the isoproperties dialog. also added ARCodeAddEdit, but once again, it only views entries atm. some misc wxw cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1560 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 04:14:24 +00:00
nakeee 7f8cc4ec62 more nowx fixes
disabled njoy test build


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1545 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 23:52:01 +00:00
Shawn Hoffman 66536235e6 compiletime warning fixes, possible wxw crashes fixed, disable build of njoy_test until it's more mature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1502 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 03:38:50 +00:00
omegadox e80c190602 Some plugin name fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1475 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 00:53:42 +00:00
John Peterson 7f7f4e8ac2 Build settings: Fixed the win32 Release linking with a /NODEFAULTLIB:msvcrt.lib, DebugFast still doesn't link
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1459 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 17:07:26 +00:00
John Peterson fee145244c Wiimote: Added optional status icons for the Wiimote speaker and leds. And a few other small changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1455 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 05:37:15 +00:00
bushing 901fe7c00f set svn:eol-style=native for Plugins/**.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:25:12 +00:00
bushing 30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
nakeee 0b7252b8f5 more small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1426 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 19:09:14 +00:00
nakeee 064d45024c (requires review for windows/mac)
Fix up so that various libraries wont be fatal for build with scons
wiiuse lib is used only if HAVE_WIIUSE is defined to 1 
made major cleanup for darwin and osx64


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 13:46:19 +00:00
John Peterson 948046ef4c Moved Classic Controller keys (H was already taken)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1324 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 21:18:26 +00:00
John Peterson 6a74afd02d Don't allow two extensions at the same time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1323 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 21:08:18 +00:00
John Peterson 4ff865198d Added analog sticks to emulated Classic Controller, the left analog stick is JKLI, the right stick is FGHT, the home button is U, the + and - buttons are O and N
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1322 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 19:02:42 +00:00
John Peterson 46dccd280a Fixed the digital buttons on the emulated Classic Controller, they are Numpad 4, 5, 6, 8 and Z, C, X, Y, 7, 8, 9, 0 so far
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1321 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 15:44:10 +00:00
John Peterson 95153abe6c Added option for emulated Classic Controller, Mario Kart Wii recognize it but the controls doesn't work yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1319 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 11:54:15 +00:00
nakeee 8777917177 warning fixes
(may break sound on wii, look in the changelog of 
Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AXWii.cpp
if you wish to know why)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1306 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 19:42:22 +00:00
nakeee f1a3212ef3 missing include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1285 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 09:00:37 +00:00
John Peterson 67087170ab Fixed the emulated Wiimote in Rayman Rabbids 1, Sonic Rings and Wii Sports
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 02:29:38 +00:00
XTra.KrazzY ac7d6d47de Removed Wiimote plugin version as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1279 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:00:04 +00:00
nakeee 09b6aaaf84 vcproj didn't get commited properly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1267 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 08:48:56 +00:00
nakeee 6e4a5d8cda Moved wiimote_test to wiimote
Some linux compile fixes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 08:44:02 +00:00