Commit graph

886 commits

Author SHA1 Message Date
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
XTra.KrazzY
c1d47f1c29 Got rid of the Wii UCode special CRC case handling. Tell me if it bothers any of you for any possible reason
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2096 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:58:01 +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
2b8d2134e5 nJoy: Slight oversight in last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2088 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 10:25:45 +00:00
John Peterson
fcb951c0c9 nJoy: Made the out of focus option only apply to gamepad input. As I understand it it's primarily used to allow keyboard input at the same time as Dolphin is used. Then it would probably be annoying to send the keyboard input to Dolphin while you are typing. Keyboard inputs was also the main idea with the out of focus option, I think that it's not as important for gamepad input as you are less likely to use the gamepad in two different programs simultaneously.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2087 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 10:17:01 +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
LPFaint99
f999ae94df Make checking for focus optional for njoy input.
So if one wants, on one monitor play Dolphin, and on the other use the keyboard for something else

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2082 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 06:21:22 +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
nakeee
d7a38393b7 some linux stop issue fix (still not working right) please check on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2076 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:31:31 +00:00
XTra.KrazzY
ae2fa6e35c Some changes to the UCode abstract factory in HLE DSP. Added Pikmin Wii to the CRC list as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2070 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 20:05:24 +00:00
John Peterson
eb91942fd6 nJoy: Fixed bugs in settings saving and loading
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2069 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 03:16:59 +00:00
John Peterson
2199b15ca6 nJoy: Updated IsFocus() to allow config window input to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2068 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 20:45:27 +00:00
John Peterson
2620257f47 nJoy: Fixed the digital L and R buttons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2066 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 20:19:21 +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
8c9d07b26b nJoy: 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@2062 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 16:29:35 +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
9f20ee78f9 PadSimple: Forgot #ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2060 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:55:00 +00:00
John Peterson
46151a9369 PadSimple: Removed the todo comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2059 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:50:59 +00:00
John Peterson
4837dac8b6 PadSimple: Don't allow input when Dolphin is not in focus supports the rendering to main window option to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2058 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:48:52 +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
nakeee
ae84837320 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2045 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 20:31:19 +00:00
hrydgard
cdb8e2009d temporarily disable vtx fmt jit in 64-bit mode until i can figure out why it crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2044 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 19:48:31 +00:00
Shawn Hoffman
24fc93cce4 fix for win64 + OpenGL crashes?!?! dumb plugin loading order... Also enable debug symbols on ogl debugfast build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2043 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 19:39:14 +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
XTra.KrazzY
31cd8ed9d2 tiny fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 17:45:02 +00:00
XTra.KrazzY
dd6fe4889d build fix for those non-WIP OGL people out there
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2040 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 07:35:47 +00:00
Shawn Hoffman
d0c2917b7a Update vcproj so the non-GLWindow version of OGL can continue compiling, since we're not ready to switch to GLWindow yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2039 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 23:51:10 +00:00
XTra.KrazzY
cd658ac755 More WIP OGL EventHandler work by shuffle2 and myself. Wiimote isn't implemented yet and OGL window is too small (should take window borders into account when creating window).
Not committing VideoOGL.vcproj so that project compiles with old OGL video window. In order to test just replace main.cpp/GLUtil.cpp/GLUtil.h with nmain.cpp/nGLUtil.cpp/nGLUtil.h in the project.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2038 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 23:35:31 +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
nakeee
a7025c1591 testgl=1 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2036 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 11:12:53 +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
XTra.KrazzY
a15911fd81 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2031 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 07:37:11 +00:00
XTra.KrazzY
b89b51c059 fix for godisgovernment's fix (r2028) (don't upload files you didn't create by guessing, but you were close :) )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2030 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 06:53:31 +00:00
Shawn Hoffman
a5e0bdb1ed fix for last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2028 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 01:53:07 +00:00
nakeee
7219bcd4d5 This is a joined work of XK and me on improving the HLE plugin interface.
It allows run time selection of backends (AOSound, DSound and NullSound).
It replaces the DSP_NULL plugin (works even better!)
It also includes improved thread handling on asound, and using some common functions on both
asound and windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2027 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 00:57:55 +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