Commit Graph

2227 Commits

Author SHA1 Message Date
Sam Lantinga
7c23e86a0d Implemented text input event for Win32 2008-02-09 06:47:46 +00:00
Sam Lantinga
d92958c0e5 Untested Win32 keyboard scancode code. 2008-02-08 08:35:49 +00:00
Sam Lantinga
27fce8ebae Fixed array overrun 2008-02-07 16:14:43 +00:00
Sam Lantinga
0e59c9db53 Fixed compile errors 2008-02-07 16:00:29 +00:00
Sam Lantinga
37131333be First pass of new SDL scancode concept for X11. 2008-02-07 15:31:09 +00:00
Sam Lantinga
80a950c3db Christian's comment:
/* Actually returns a UInt32 containing two character codes (and two 'reserved' bytes), but we're only interested in the second (or only) one */
2008-02-05 07:30:50 +00:00
Sam Lantinga
0f9d544f5e First pass implementation of new SDL scancode concept, as discussed with
Christian Walther.  Currently only implemented on Mac OS X for sanity
checking purposes.
2008-02-05 07:19:23 +00:00
Ryan C. Gordon
fd734cede6 Merged r3534:3535 from branches/SDL-1.2: Reset direction flag in SDL_revcpy(). 2008-02-04 17:25:33 +00:00
Sam Lantinga
7cc582cea4 Merged fix for bug #542 from SDL 1.2 2008-01-24 15:51:52 +00:00
Bob Pendleton
16c4fcc95c Minimal implementation of textinput events for x11. It only works for latin-1. 2008-01-15 22:37:17 +00:00
Bob Pendleton
4a1d83aef7 Enabled key board auto repeat in X11_InitKeyboard.c. Had to add a couple of new Xlib symbols. 2008-01-12 18:07:06 +00:00
Bob Pendleton
06920df50f one more time... I must be brain dead... 2008-01-12 16:56:42 +00:00
Bob Pendleton
1129c73ed3 More typos 2008-01-12 16:53:30 +00:00
Bob Pendleton
bd12ee97bd Fixed some typos in SDL_x11keyboard.c 2008-01-09 23:40:56 +00:00
Bob Pendleton
e065abc334 Checking in Christian Walther's patch for x11 keyboard input. Minor code tweaks by Bob. 2008-01-08 00:10:46 +00:00
Sam Lantinga
d3b0c22d33 Updated config scripts 2008-01-03 06:07:30 +00:00
Sam Lantinga
8f502d4bc2 Merged fix for bug #531 from SDL 1.2 revision 3511 2008-01-01 15:26:11 +00:00
Sam Lantinga
6f059e9947 Merged -fvisibility detection fix from SDL 1.2 revision 3500 2007-12-30 05:01:35 +00:00
Sam Lantinga
2f7fd42403 Christian Walther fixed bug #529 2007-12-29 22:15:39 +00:00
Sam Lantinga
652d55b702 Christian Walther fixed bug #530 2007-12-29 22:13:47 +00:00
Sam Lantinga
9e2c55b30c Merged fix for bug #508 from SDL 1.2 revision 3495 2007-12-29 21:36:17 +00:00
Sam Lantinga
124a0aa92d Merged fix for bug #482 from SDL 1.2 revision 3492. 2007-12-29 20:13:23 +00:00
Sam Lantinga
67aa85911e Fixed bug #478
Take the min and max values into account.
2007-12-29 19:45:09 +00:00
Sam Lantinga
4a989076f7 Merged fix for bug #503 from SDL 1.2 revision 3487 2007-12-29 19:29:20 +00:00
Sam Lantinga
6ca8994f51 Fixed bug #497
Check all joysticks instead of stopping if one has been removed.
2007-12-29 06:17:31 +00:00
Sam Lantinga
a4fa98c9b0 Fixed bug #464
Added X1/X2 button constants
2007-12-29 06:09:25 +00:00
Sam Lantinga
a1a1bccc35 Merged revision 3472 from SDL 1.2, fixing bug #493 2007-12-29 03:25:11 +00:00
Sam Lantinga
761de03cec Fixed fatbuild.sh script for building on Mac OS X 10.5 2007-12-28 20:42:06 +00:00
Sam Lantinga
fef51d48dc Date: Wed, 14 Nov 2007 22:20:27 -0500
From: Calvin Vette
Subject: Fix to compile SDL-1.2 SVN on OS X Leopard

I found I needed to add a conditional check for Leopard to compile
cleanly on 1.2-SVN (20071114):

#include <AudioUnit/AudioUnit.h>
#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER
#include <AudioUnit/AUNTComponent.h>
#endif

where there is now just:
#include <AudioUnit/AudioUnit.h>
2007-12-28 18:16:42 +00:00
Sam Lantinga
a594a0739d Merged changeset 3463 from SDL 1.2, fixed compile error with Intel compiler. 2007-12-28 18:08:43 +00:00
Sam Lantinga
ea72f5eaf6 Merged revision 3458 from SDL 1.2, fixed Borland C alloca() prototype 2007-12-28 08:07:57 +00:00
Sam Lantinga
057531a52a Merged revision 3455 from SDL 1.2, fixing documentation typo. 2007-12-28 07:54:35 +00:00
Bob Pendleton
ea9e36a1c1 Added SDL_rect.h and SDL_surface.h to the initialization of HDRS in Makefile.in. Because they were missing those header files were not being installed and
./configure in the test directory was erroring off.
2007-12-13 03:53:02 +00:00
Ryan C. Gordon
0e7872fd7d Merged r3449:3450 from branches/SDL-1.2: SDL_config.h.in Linux joystick fix. 2007-09-25 10:01:10 +00:00
Sam Lantinga
4f2f07efff Split out the SDL_rect and SDL_surface functions into their own headers.
Removed unused count from the dirty rect list.
2007-09-10 12:20:02 +00:00
Sam Lantinga
1e891ee4f2 indent 2007-09-10 12:11:40 +00:00
Sam Lantinga
6b567a2fb0 Fixed bug #471 2007-08-21 06:54:07 +00:00
Ryan C. Gordon
8446fb5976 Minor PulseAudio fixes: corrected OpenDevice return code, human-readable
error messages if connction to daemon fails.
2007-08-20 02:08:37 +00:00
Ryan C. Gordon
76eb0e6b90 Ported PulseAudio target from 1.2 to 1.3 interfaces, and added it to the trunk.
Fixes Bugzilla #439.
2007-08-20 01:02:37 +00:00
Sam Lantinga
bd3f5173f5 Date: Sun, 19 Aug 2007 18:29:28 +0200
From: Christian Walther
Subject: Re: SDL 1.3 keyboard plan

> 2007-08-18 19:15:51.454 checkkeys[5795] *** _NSAutoreleaseNoPool():
> Object 0x532750 of class NSSelectionArray autoreleased with no pool
> in place - just leaking

This is fixed by the attached patch.
2007-08-19 16:36:51 +00:00
Sam Lantinga
c84ff85475 Whoops, missing file... 2007-08-19 16:35:44 +00:00
Sam Lantinga
7b145f5ad0 Date: Thu, 05 Jul 2007 14:02:33 -0700
From: Sam Lantinga
Subject: SDL 1.3 keyboard plan

After lots of discussion with Christian, this is what we came up with:

> So, to sum up...
> SDLK_* become the physical keys, starting at > (1<<21)
> We create a macro SDLK_INDEX(X)
> We have two functions SDL_GetLayoutKey(SDLKey) and SDL_GetKeyName()
> SDL_GetLayoutKey maps to UCS4 for printable characters, and SDLK* for
  non-printable characters
> and does so based on the OS's current keyboard layout
> SDL_GetKeyName() handles both SDLK_* and UCS4, converting UCS4 to UTF-8 and
  converting SDLK_* into our names, which are UTF-8 for printable characters.
> WASD folks use SDLK_*, and 'I' folks use SDL_GetLayoutKey(SDLK_*)

Here is the patch he came up with, and his e-mail about it:

Date: Fri, 17 Aug 2007 19:50:28 +0200
From: Christian Walther
Subject: Re: SDL 1.3 keyboard plan

> Sounds great, go ahead and send me a patch.

Here goes! Thanks for having a look. Don't hesitate to comment if
anything does not conform to your ideas.

One caveat: Committing this now may break compilability of some video
drivers - specifically, if they use any of the SDLK_* codes that were
obsoleted and moved into SDL_compat.h. I only tried Cocoa (which did
break, but is already fixed) and X11 (which didn't, but then its key
handling is #iffed out). If that's a problem, it may need to go into
a branch.

  -Christian
2007-08-19 14:52:52 +00:00
Sam Lantinga
b9d3d66bfb Okay, still some bugs, but everything builds again... 2007-08-18 05:39:09 +00:00
Sam Lantinga
73cc09fedb More work in progress integrating SDL_Surface and the new SDL_Texture API 2007-08-18 01:44:21 +00:00
Sam Lantinga
59d6059cae More work in progress... 2007-08-17 06:58:20 +00:00
Sam Lantinga
99d8df4fc1 Enabled SSE2 intrinsics 2007-08-17 06:41:20 +00:00
Sam Lantinga
7f03398faa More work in progress, still doesn't compile... 2007-08-17 06:40:12 +00:00
Sam Lantinga
82908c483c Work in progress: merging new texture features into SDL blit system 2007-08-17 06:21:58 +00:00
Sam Lantinga
d5d655cc43 Enabled 3DNow! intrinsic support 2007-08-17 03:22:03 +00:00
Sam Lantinga
c120eaf9e4 indent 2007-08-17 02:55:21 +00:00