Commit graph

848 commits

Author SHA1 Message Date
Sam Lantinga
b191a1af95 Cleaned up the SDL_VIDEO_WINDOW_POS variable support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40498
2002-09-16 08:22:25 +00:00
Sam Lantinga
6bbd447643 Don't be fooled by unclutter - the mouse isn't really leaving our window
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40497
2002-09-16 07:09:04 +00:00
Sam Lantinga
34a52528ff Date: Thu, 12 Sep 2002 20:35:51 -0400
From: Darrell Walisser
Subject: Jag joystick fix (take 2)

This patch enables all HID devices, not just joysticks. This quell
complaints about gamepads not working, though I don't have I gamepad to
verify this theory.

Before, only joysticks were recognized. Now, all HID devices except the
keyboard and mouse will be recognized.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40496
2002-09-16 06:50:26 +00:00
Sam Lantinga
d81041f4bb *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40495
2002-09-16 06:26:22 +00:00
Sam Lantinga
24ad689c20 Fixed a crash bug in checkkeys.c (thanks John!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40494
2002-09-16 06:21:23 +00:00
Sam Lantinga
ae337cc4b4 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40493
2002-09-16 06:17:34 +00:00
Sam Lantinga
40bb8b5aab Applied John Popplewell's fix for left-handed mice under Windows.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40492
2002-09-16 06:14:46 +00:00
Sam Lantinga
92d0c77b4e The portable way of including SDL is #include "SDL.h"
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40491
2002-09-09 05:28:06 +00:00
Sam Lantinga
cb29ccb60d Fixed path problem with sdl.m4 macro file
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40490
2002-09-09 05:12:32 +00:00
Sam Lantinga
f580d052f7 Fixed missing cursor after shadow buffer flip (thanks Jan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40489
2002-09-09 03:22:19 +00:00
Sam Lantinga
aee272f0a5 Fixed trashing the framebuffer console on broken video drivers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40488
2002-09-02 21:42:15 +00:00
Sam Lantinga
32e1f1bc86 Fixed a typo in a previous patch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40487
2002-09-02 16:02:17 +00:00
Sam Lantinga
82ab8e4d2d Date: Sun, 1 Sep 2002 21:27:54 -0400 (EDT)
From: "Ryan C. Gordon"
Subject: [SDL] Minor X11 hack:

Here's a patch to center a newly-created, non-fullscreen X11 window.
While this may or may not be suitable for adding to SDL officially, I
didn't want to put any Xlib dependencies in my code directly.

To use:

- Apply patch/rebuild.
- export SDL_WINDOW_POS=center
- Call SDL_SetVideoMode as needed.

(Ideally, this could be expanded to handle other commands like
SDL_WINDOW_POS=20x190, etc, and could be implemented for other targets,
but this is really a hack to avoid API changes).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40486
2002-09-02 15:58:29 +00:00
Sam Lantinga
f11307eab0 Updated MacOS projects with "enums as int" build option
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40485
2002-09-01 19:34:01 +00:00
Sam Lantinga
3177220732 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40484
2002-09-01 00:40:12 +00:00
Sam Lantinga
c221c1ae7d *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40483
2002-09-01 00:38:49 +00:00
Sam Lantinga
513d7b333c Date: Sat, 31 Aug 2002 15:42:45 +0200
From: Alexandre Courbot
Subject: [SDL] Qtopia port fixes/improvments

-Whenever the screen is rotated, the pad is rotated as well,
-Fixed a mouse bug: when tapping on the screen, the click event was
often sent at the previous position of the stylus (resulting in strange
behavior in Scummvm for instance)
-Added the SDL_QT_INVERT_ROTATION environment variable which, when set,
rotates the screen (and the mouse, and the pad) the other way. This can
be useful for left-handed people.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40482
2002-09-01 00:37:24 +00:00
Sam Lantinga
9e8960992e Fixed some bugs and added some features to the -benchmark facility
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40481
2002-08-31 21:00:28 +00:00
Sam Lantinga
5b393a92a4 Added a -benchmark flag for testing the speeds of various video modes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40480
2002-08-31 19:48:11 +00:00
Sam Lantinga
cf7d4082e0 Date: Tue, 27 Aug 2002 19:07:38 +0200
From: Denis Oliver Kropp
Subject: YUV support

I just added YUV overlay support to the DirectFB backend.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40479
2002-08-31 04:13:28 +00:00
Sam Lantinga
4a1ab27d1f Date: Tue, 27 Aug 2002 16:14:11 +0200
From: Denis Oliver Kropp
Subject: Palette support and 8bit color keying fix

This patch adds support for 8bit palette modes dropping
the RGB332 stuff. It also fixes color keying for 8bit.
testsprite (without -bpp >8) looks correct again.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40478
2002-08-31 04:06:37 +00:00
Sam Lantinga
b653266009 Tell the dock about command-line launched applications
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40477
2002-08-31 04:01:19 +00:00
Sam Lantinga
9f74acc70f Darrell's Jag joystick fix
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40476
2002-08-31 01:31:44 +00:00
Sam Lantinga
e9f15ec055 Doh! Patch by Joel Ray Holveck
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40475
2002-08-28 23:25:09 +00:00
Sam Lantinga
ed9545a566 Added a -fullscreen flag
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40474
2002-08-25 18:59:11 +00:00
Sam Lantinga
4a75eb146a Date: Sun, 25 Aug 2002 09:46:54 -0400
From: Darrell Walisser
Subject: [SDL] Updated Project Builder Support

- added a script to build PBProjects.tar.gz
- added a script to install the stationary
-fixes for the developer package installer:
	+ now installs certain files as the user, not root
	+ now rebuilds apropos database after manpages are installed

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40473
2002-08-25 16:25:37 +00:00
Sam Lantinga
169fcbaa21 Date: Sat, 24 Aug 2002 22:20:01 -0600
From: "Greg Haerr"
Subject: Announce: sdl-nanox-patch

Sam,
    I've created an update patch for enhanced Nano-X support
with SDL.  I've created the patch against SDL-1.2.4.  I'd appreciate
it if you would apply it to the next SDL version.

Enhancements include:

1. Small bugfixes to compile without errors
2. Support for direct client-side framebuffer access with configure option
3. Add dynamic pixel type support for hardware framebuffer; eliminating the
need for compile-time configuration option.

I've updated the README.NanoX file with the details.

This version has been tested with Microwindows v0.89pre9 CVS
and SMPEG 0.4.4.  I've added multi-threading support to
Microwindows to support the multi-threaded SMPEG, and
all works fine.  To turn on thread safety in Microwindows,
use THREADSAFE=Y in the Microwindows config file.

Thanks!

Regards,

Greg
Founder, The Microwindows Project
http://microwindows.org

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40472
2002-08-25 06:21:49 +00:00
Sam Lantinga
b08389d348 Updated the credits
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40471
2002-08-25 02:05:24 +00:00
Sam Lantinga
76728d8561 Removed unused function
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40470
2002-08-24 17:30:49 +00:00
Sam Lantinga
314bd78b53 Fixed 2048 pixel limitation in DirectX blit code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40469
2002-08-24 17:15:45 +00:00
Sam Lantinga
2dcc945051 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40468
2002-08-24 16:27:33 +00:00
Sam Lantinga
dd508169ee *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40467
2002-08-24 16:17:05 +00:00
Sam Lantinga
4da3baa78d Updated the Borland C++ projects (thanks Dominique!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40466
2002-08-24 16:15:37 +00:00
Sam Lantinga
8a2b5b9e0c Date: Fri, 23 Aug 2002 11:48:56 +0200
From: Denis Oliver Kropp
Subject: Another patch

this is another patch fixing key code mapping
along with some other fixes and better mode handling.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40465
2002-08-24 15:29:06 +00:00
Sam Lantinga
9691009892 Added compile-time checking for the size of enums to SDL_types.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40464
2002-08-21 04:16:31 +00:00
Sam Lantinga
5310d6d97f Fixed offset bug in hardware accelerated fills and blits
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40463
2002-08-20 16:58:49 +00:00
Sam Lantinga
fae7d836a8 Date: Thu, 18 Jul 2002 23:51:40 +0200 (MEST)
From: Krister Walfridsson
Subject: [SDL] src/joystick/bsd/SDL_sysjoystick.c patch

The *BSD USB HID joystick code has two serious bugs:

1. If a joystick reports unhandled hid_input usage (for example HUG_RZ or
   HUG_DIAL), then the last handled value will be overwritten with an
   arbitrary value. (Fixed in the patch below by adding a default case.)

2. The current code does only handle logical coordinates in the range 0-255,
   while a big part of available joysticks report -128 - 127. (This is solved
   in the patch below by first center the range around 0, and then stretch
   it to the correct range.)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40462
2002-08-20 06:08:42 +00:00
Sam Lantinga
8b7ced1708 Reset mouse state when changing video modes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40461
2002-08-20 06:01:20 +00:00
Sam Lantinga
d79f2837b1 Fixed bug where video mode wasn't restored after ALT-tab in with DirectX
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40460
2002-08-20 05:59:31 +00:00
Sam Lantinga
96f1a7b806 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40459
2002-08-20 04:55:37 +00:00
Sam Lantinga
81a23f5e99 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40458
2002-08-20 04:49:05 +00:00
Sam Lantinga
9e7b2297be Fixed crash with invalid bpp in SDL_SetVideoMode()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40457
2002-08-20 04:44:36 +00:00
Sam Lantinga
f786844714 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40456
2002-08-20 00:27:37 +00:00
Sam Lantinga
76afd78776 Fixed mouse motion on MacOS X (recently broken)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40455
2002-08-20 00:24:38 +00:00
Sam Lantinga
a3897183c7 Updated for embedded Visual C++ 4.0
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40454
2002-08-20 00:20:06 +00:00
Sam Lantinga
a12335985b Help with cross-compiling
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40453
2002-08-19 18:33:29 +00:00
Sam Lantinga
aa3ff02a85 Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40452
2002-08-19 18:09:44 +00:00
Sam Lantinga
a05e8ec098 Added SDL_GL_STEREO for stereoscopic OpenGL contexts
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40451
2002-08-19 17:58:08 +00:00
Sam Lantinga
79fc29317c Added an environment variable SDL_VIDEO_X11_WMCLASS
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40450
2002-08-19 03:40:44 +00:00
Sam Lantinga
12ceb2a088 Fullscreen windows are always topmost under Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40449
2002-08-19 03:09:25 +00:00