aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/mupen64plus-input-sdl
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2009-01-14 10:03:05 +0800
committeracm <acm@FreeBSD.org>2009-01-14 10:03:05 +0800
commit002ffc4e275fe09dde64bd0b26ff8fcde2b66f46 (patch)
treea5ade165fd43455cb88592c85bd3fab470e7ce33 /emulators/mupen64plus-input-sdl
parentc0ab14081b8d5d886cf7980a0a65ec76956c98cc (diff)
downloadfreebsd-ports-gnome-002ffc4e275fe09dde64bd0b26ff8fcde2b66f46.tar.gz
freebsd-ports-gnome-002ffc4e275fe09dde64bd0b26ff8fcde2b66f46.tar.zst
freebsd-ports-gnome-002ffc4e275fe09dde64bd0b26ff8fcde2b66f46.zip
- Update to 1.5
Diffstat (limited to 'emulators/mupen64plus-input-sdl')
-rw-r--r--emulators/mupen64plus-input-sdl/files/patch-blight_input_plugin.c82
1 files changed, 0 insertions, 82 deletions
diff --git a/emulators/mupen64plus-input-sdl/files/patch-blight_input_plugin.c b/emulators/mupen64plus-input-sdl/files/patch-blight_input_plugin.c
deleted file mode 100644
index 3737bc204b3b..000000000000
--- a/emulators/mupen64plus-input-sdl/files/patch-blight_input_plugin.c
+++ /dev/null
@@ -1,82 +0,0 @@
---- blight_input/plugin.c 2008-10-13 21:31:47.000000000 -0500
-+++ blight_input/plugin.c 2008-12-15 02:11:02.000000000 -0500
-@@ -20,7 +20,9 @@
- #include <fcntl.h>
- #include <unistd.h>
- #include <dirent.h>
-+#ifdef __linux__
- #include <linux/input.h>
-+#endif
-
- #include "plugin.h"
-
-@@ -453,9 +455,11 @@
-
- BYTE lastCommand[6];
-
-+#ifdef __linux__
- struct ff_effect ffeffect[3];
- struct ff_effect ffstrong[3];
- struct ff_effect ffweak[3];
-+#endif
-
- BYTE DataCRC( BYTE *Data, int iLenght )
- {
-@@ -513,6 +517,7 @@
- void
- ControllerCommand(int Control, BYTE *Command)
- {
-+#ifdef __linux__
- BYTE *Data = &Command[5];
- struct input_event play;
-
-@@ -580,6 +585,7 @@
- /*printf( "Write eeprom\n" );*/
- break;
- }
-+#endif
- }
-
- /******************************************************************
-@@ -860,7 +866,9 @@
- void
- GetKeys( int Control, BUTTONS *Keys )
- {
-+#ifdef __linux__
- struct input_event play;
-+#endif
- int b, axis_val, axis_max_val, axis_val_tmp;
- SDL_Event event;
- Uint8 *keystate = SDL_GetKeyState( NULL );
-@@ -1086,6 +1094,7 @@
- #endif
- *(int *)Keys = *(int *)&controller[Control].buttons;
-
-+#ifdef __linux__
- /* handle mempack / rumblepak switching (only if rumble is active on joystick) */
- if (controller[Control].event_joystick != 0)
- {
-@@ -1108,6 +1117,7 @@
- perror("Error starting rumble effect");
- }
- }
-+#endif
- }
-
- int InitiateRumble(int cntrl)
-@@ -1165,6 +1175,7 @@
- return 0;
- }
-
-+#ifdef __linux__
- if (ioctl(controller[cntrl].event_joystick, EVIOCGBIT(EV_FF, sizeof(unsigned long) * 4), features) == -1)
- {
- printf("["PLUGIN_NAME"]: Linux kernel communication failed for force feedback (rumble).\n", temp);
-@@ -1205,6 +1216,7 @@
- ioctl(controller[cntrl].event_joystick, EVIOCSFF, &ffweak[cntrl]);
-
- printf("["PLUGIN_NAME"]: Rumble activated on N64 joystick #%i\n", cntrl + 1);
-+#endif
- }
-
- /******************************************************************
aph'>* Sync with libxine shared library version bump.nobutaka2005-12-111-1/+1 * Add SHA256 to my BSD# portstmclaugh2005-12-011-0/+1 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * - Add fix for updated gtk# (patch-src_PlaylistWindow.cs: Muine mailing list)tmclaugh2005-11-103-4/+21 * Bump PORTREVISION to chase glib update that came with Gnome 2.12tmclaugh2005-11-061-1/+1 * Chase libid3tag update.jylefort2005-10-281-2/+2 * - Chase move of gtk-sharp to gtk-sharp10 and gtk-sharp-devel totmclaugh2005-09-291-2/+2 * - Chase libxine shared library version.tmclaugh2005-09-221-2/+2 * - Change maintainership of my Mono related ports over to the BSD#tmclaugh2005-09-201-1/+1 * - Add a missing dependency, libvorbis.mezz2005-07-112-7/+32 * Update to 0.8.3.mezz2005-05-174-22/+45 * Chase the libxine shared lib version bump.nobutaka2005-04-291-2/+2 * Chase the slit of gconf to a seperate port.kwm2005-03-211-1/+1 * Mark ignore it doesn't run with recent gstreamer.kwm2005-03-191-1/+2 * new version of libFLACnaddy2005-03-161-2/+2 * Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-1/+1 * - split multimedia/gstreamer-plugins in to individual ports perahze2005-03-011-3/+4 * Sync with libxine shared library version bump.nobutaka2004-12-301-1/+1 * Bump PORTREVISION to chase the gtkhtml3 shared library version.marcus2004-12-081-1/+1 * - Add an OPTION to use gstreamer over xine as the playback backend. Xine ismezz2004-11-262-9/+18 * Bump PORTREVISIONS for all ports that depend on atk or pango to ease in themarcus2004-11-081-0/+1 * [Maintainer Update] Muine: Fix library mapping so minor updates don't cause b...edwin2004-10-132-9/+3