Commit graph

33 commits

Author SHA1 Message Date
Sam Lantinga
bea3cb1da4 Date: Sat, 8 Sep 2001 04:42:23 +0200
From: Max Horn <max@quendi.de>
Subject: SDL/OSX: Joystick; Better key handling

I just finished implementing improved keyhandling for OS X (in fact
the code should be easily ported to the "normal" MacOS part of SDL, I
just had no chance yet). Works like this:
First init the mapping table statically like before. Them, it queries
the OS for the "official" key table, then iterates over all 127
scancode and gets the associates ascii code. It ignores everythng
below 32 (has to, as it would lead to many problems if we did not...
e.g. both ESC and NUM LOCk produce an ascii code 27 on my keyboard),
and all stuff above 127 is mapped to SDLK_WORLD_* simply in the order
it is encountered.
In addition, caps lock is now working, too.
The code work flawless for me, but since I only have one keyboard, I
may have not encountered some serious problem... but I am pretty
confident that it is better than the old code in most cases.


The joystick driver works fine for me, too. I think it can be added
to CVS already. It would simply be helpful if more people would test
it. Hm, I wonder if Maelstrom or GLTron has Joystick support? That
would be a wonderful test application :)


I also took the liberty of modifying some text files like BUGS,
README.CVS, README.MacOSX (which now contains the OS X docs I long
promised)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40173
2001-09-11 19:00:18 +00:00
Sam Lantinga
23d3cf9854 Added Max's patches for building MacOS X apps on command line
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40169
2001-09-04 23:18:45 +00:00
Sam Lantinga
9e8567129b Added support for DirectFB video on Linux (thanks Denis!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40168
2001-09-04 22:53:46 +00:00
Sam Lantinga
ee5429fd3e Fixed Solaris nitpicks (thanks Mattias!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40167
2001-09-04 22:48:09 +00:00
Sam Lantinga
75ab0e7ade Date: Tue, 21 Aug 2001 03:50:01 +0200
From: Max Horn <max@quendi.de>
Subject: New patch for OS X

Attached a .patch file for SDL/OSX with some nice bug fixes / enhancments.

* fixes the activation issues, which also caused the window to be
always drawn like an inactive. The close/minimize widgets now are
animated properly, too.

* the menu items are automatically adjusted to use the app name
instead of just "SDL App". I did this so that we really can use one
central SDLMain.nib file, w/o requiring developers to make a copy of
it and adjust it.

* libSDLMain now contains the proper cocoa code, not as before the
carbon code. This means apps no longer have to carry a copy of
SDLMain.m/SDLMain.h

* revamped configure.in to properly build a Cocoa/Quartz SDL lib, not
a Carbon based SDL lib

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40159
2001-08-21 07:19:59 +00:00
Sam Lantinga
a2d4d4bcb7 Fixed IDE and SCSI CD-ROM detection on BeOS (thanks Caz!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40154
2001-08-18 22:03:11 +00:00
Sam Lantinga
2aca7272f2 Audio subsystem no longer assumes sun audio API on UNIX systems
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40149
2001-08-09 13:09:47 +00:00
Sam Lantinga
dac38725b6 Fixed VGL detection on FreeBSD (thanks David!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40145
2001-08-09 06:14:06 +00:00
Sam Lantinga
fa21275ab8 Applied Maxim's patch for VGL detection on FreeBSD
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40130
2001-07-31 04:06:56 +00:00
Sam Lantinga
6a0f52a7ca Bump version to 1.2.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40127
2001-07-31 00:13:03 +00:00
Sam Lantinga
1412a1724e Name changed from OBSD to OPENBSD_AUDIO
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40122
2001-07-23 02:58:42 +00:00
Sam Lantinga
acab15a3bd Cleaned up the OpenBSD port, thanks to Peter Valchev
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4095
2001-07-08 09:00:06 +00:00
Sam Lantinga
b28f12dc1c Dummy audio and video drivers are enabled (thanks Ryan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4087
2001-07-02 00:20:29 +00:00
Sam Lantinga
4b930af7e9 Bumped the library version
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4077
2001-06-19 13:35:05 +00:00
Sam Lantinga
31059713d1 Added patches from FreeBSD ports
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4076
2001-06-19 13:33:54 +00:00
Sam Lantinga
85b3f6b287 Fixed the PS2 GS detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4073
2001-06-16 06:35:36 +00:00
Sam Lantinga
c0384c9cf7 Added Linux PlayStation 2 Graphics Synthesizer support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4071
2001-06-16 03:17:45 +00:00
Sam Lantinga
98233844c7 Added an audio driver that writes to disk (thanks Ryan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4069
2001-06-16 01:51:42 +00:00
Sam Lantinga
c7f970e39d Added MacOS X Project Builder projects
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4054
2001-06-10 18:20:23 +00:00
Sam Lantinga
b21d935de1 Disabled /dev/event joystick interface by default
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4052
2001-06-10 04:54:53 +00:00
Sam Lantinga
72f7279bf8 Added initial support for Quartz video (thanks Darrell!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4048
2001-06-07 14:28:11 +00:00
Sam Lantinga
a08e92da41 I found the pthread package for NetBSD
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4044
2001-05-27 01:03:39 +00:00
Sam Lantinga
bed5e954db *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4043
2001-05-27 00:38:26 +00:00
Sam Lantinga
56c5f79a63 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4042
2001-05-27 00:24:43 +00:00
Sam Lantinga
5cc1dd1c23 Minor fixes for NetBSD
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4040
2001-05-27 00:15:42 +00:00
Sam Lantinga
6a24b323f5 Added native OpenBSD audio driver (thanks vedge!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4038
2001-05-26 16:58:37 +00:00
Sam Lantinga
09112109c3 Added detection of Open Sound System on Solaris x86
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4036
2001-05-23 00:36:17 +00:00
Sam Lantinga
367f76c103 Added initial support for Nano-X (thanks Hsieh-Fu!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4031
2001-05-11 01:13:35 +00:00
Sam Lantinga
df7866c435 Updated the Amiga OS port of SDL (thanks Gabriele)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4022
2001-05-10 20:13:29 +00:00
Sam Lantinga
62b02c639e Date: Thu, 19 Apr 2001 08:36:54 +0300
From: "Mike Gorchak" <mike@malva.com.ua>
Subject: Patches for QNX RtP

Here my patch for QNX RtP/Photon for SDL-1.2.

Detailed description of my changes:

SDL/configure.in:
   If Photon detected declare define ENABLE_PHOTON.

SDL/src/video/SDL_sysvideo.h:
   Added extern to ph_bootstrap.

SDL/src/video/SDL_video.c:
   Added ph_bootstrap to bootstrap array.

SDL/src/video/photon/SDL_ph_events.c:
   Declare DISABLE_X11 if compiled for Photon.

SDL/src/video/photon/SDL_ph_image.c:
   Fixed segment violation on exit. Please update BUGS file.

SDL/src/video/photon/SDL_ph_video.c:
   1. Enabling window manager.
   2. Added to device capabilities Photon Window Manager functions:
      SetCaption and IconifyWindow.
   3. Renamed X11_bootstrap to ph_bootstrap.
   4. Removed SEGFAULT termination of programs if Photon not available.

SDL/src/video/photon/SDL_ph_wm.c:
   1. Declare DISABLE_X11 if compiled for Photon.
   2. Added ph_SetCaption and ph_IconifyWindow code. (Thanks to
      'phearbear' for iconify window source).
   3. Some stubers for other wm functions.

Thanks !

----------------------------
Mike Gorchak
CJSC Malva
System Programmer

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4020
2001-05-10 18:42:17 +00:00
Sam Lantinga
dbbb4480a7 Added --disable-dga configure option to disable DGA entirely
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4017
2001-05-10 18:04:03 +00:00
Sam Lantinga
9b6cc5a90d Changes since SDL 1.2.0 release
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402
2001-04-26 16:50:19 +00:00
Sam Lantinga
2f110628a7 Initial revision
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401
2001-04-26 16:45:43 +00:00