Commit Graph

77 Commits

Author SHA1 Message Date
Sonicadvance1 3e029639df Removed jpeg dependency in GL plugin, added Rumble to Linux nJoy. and reverted my accidental Dolphin ini file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@379 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-29 09:55:17 +00:00
Maarten ter Huurne bbeca155de Added "const" to the data type. This fixes loads of compile warnings and the resulting file seems to still be a valid XPM (in fact, some of the files already had "const").
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@349 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:24:16 +00:00
Maarten ter Huurne 8876637c9f Fixed invalid use of sprintf.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@344 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:54:11 +00:00
Maarten ter Huurne 734586a0ab Include system headers using "#include <file.h>", so GCC will not issue warnings about them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@331 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:32:54 +00:00
Maarten ter Huurne 59974dfb5b Only use "-fPIC" for compiling objects that will be part of dynamic libs. Make SConscripts inherit the compile flags from the top level instead of overriding them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 22:28:42 +00:00
masken ae5b59747a Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:28:24 +00:00
Maarten ter Huurne efd894fe1e Include SDL header as "SDL.h". This works with the CFLAGS output of pkg-config, picking up SDL no matter where it is installed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@274 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 21:19:56 +00:00
Laurence Muller 5fc50dc63c Disabled the rumblepad hack.
If you want to use it, uncomment #define USE_RUMBLE_DINPUT_HACK in nJoy.h.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@172 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 18:46:55 +00:00
hrydgard e7786f3934 fix linux build, last njoy commit broke it :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@127 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-03 09:21:04 +00:00
Laurence Muller bcaa0d1d86 nJoy:
- Added some kind of rumble support (windows only, using direct input).
- Only usable for player one.
- Not customizable, fixed rumble strength.
- Due to some Dolphin bugs you need to initialize rumble support manually.

How to use:
- Disable the 'render to main window' in the video plugin (opengl or d3d).
- Start the game and wait a few seconds.
- When the game is running, press the 'half press' button once.
- Rumble support should now be enabled (if your joypad supports it).
- Confirmed to work with Crazy Taxi.

Dolphin bug:
When void PAD_Initialize(SPADInitialize _PADInitialize) is called, the render window does not excist yet. Therefor the value _PADInitialize.hWnd is incorrect.

In order to initalize rumble support, it is required to set the CooperativeLevel to "DISCL_EXCLUSIVE | DISCL_FOREGROUND". But without a proper hWnd this will fail.
So the trick I used here is, let the game start and create a window (and a hWnd). After that I set the CooperativeLevel.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@126 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 23:38:53 +00:00
tmator 60ac064e0c Mac plugin is now in mac/Plugins directory
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@113 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 08:38:13 +00:00
Laurence Muller 8f1628b69c nJoy: GUI fixes
- It should now look pretty in Linux
- wxWindow::Update(); does not seem to work in Linux, so no countdown timer in Linux when pressing a button.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@110 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 23:33:37 +00:00
Laurence Muller fb7a7f9001 nJoy: GUI fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@108 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 22:17:45 +00:00
Laurence Muller 19f3c986ff forgot to disable a line...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@103 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 07:52:03 +00:00
Laurence Muller d2776e3468 Fixed linux compatibility, it seems that xpm files load fast under linux...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@97 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-29 23:02:38 +00:00
Laurence Muller 53ba40fd7f nJoy: GUI update
- Config GUI now uses wxWidgets (should work in linux!)
- The alignment of text may look crappy in linux, so we still need to fix that.
- Opening the config GUI takes time, crappy XPM image of the controller loads slow (cant we use BMP files???) (line 240)
- Stupid GUI bug present when switching between a default joystick and one with no hat. (line 381)
- For some reason setting the value of a wxTextCtrl doesnt gets updated immediately (line 559)
- If you're using windows and dont want to use wxWidgets for the GUI, you can still use the old one by removing #define USE_WXWIDGETS from nJoy.h line 33.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@95 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-29 22:26:42 +00:00
Laurence Muller 3114c27143 fontsize fix for linux (from gigaherz).
Logo is still greyscale ;(...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@88 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-26 21:44:01 +00:00
Sonicadvance1 9d892e7295 Update nJoy about box.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@87 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-26 20:32:08 +00:00
Laurence Muller 3f32143513 nJoy: oops... used the old filename, for some odd reason the logo image is black and white in linux...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@86 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-26 12:32:33 +00:00
Laurence Muller 82137a0ee9 nJoy:
- Converting dialog windows to use wxWidgets instead of win32.
- Currently only the about box is converted.
- The debug versions in windows will not compile yet.
- If you want to use the old version, remove #define USE_WXWIDGETS in nJoy.h



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@85 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-26 12:28:17 +00:00
Laurence Muller 690b7d4e1e nJoy:
- nothing special, just a default nJoy.ini.
- Controller 1 contains a profile for the logitech rumblepad 2

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@71 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 19:23:36 +00:00
Laurence Muller d8ed24fd29 nJoy:
- This version should compile on linux.
- The about and config dialogs are disabled (win32 should be replaced by wxWidgets)
- This version is untested, so if you want to try it out, use a premade nJoy.ini from a windows install.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@70 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 18:53:54 +00:00
Laurence Muller 5955748d58 nJoy: minor fix, loading settings while game is running.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@62 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 09:05:59 +00:00
Laurence Muller f9582bef30 nJoy:
- Enabled Half press for shoulder buttons
- Added a option to select controller type
- Normal controllers should use the default joystick
- Some joysticks dont have a real hat (POV) but fake this with buttons.
In this case Joystick (no hat) should be selected.
After this is selected, four new buttons will appear for the d-pad.
- Next version will probably include keyboard support.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@60 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 00:49:20 +00:00
Laurence Muller 7f95ad831f nJoy: Shoulder button fixed, I forgot to set a value for the pressure. Currently it set at max (0xFF)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@57 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-22 14:32:13 +00:00
Laurence Muller ef3a9832ce nJoy: small fixes for the analog from gigaherz
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@56 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-22 14:23:27 +00:00
fires.gc e8b40c07a3 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@51 8ced0084-cf51-0410-be5f-012b33b47a6e 2008-07-22 09:02:26 +00:00