Date: Sun, 04 Jan 2009 20:53:30 +0100

From: Couriersud
Subject: SDL1.3 DirectFB patches

The attached contains the following directfb changes:

- Dynamic loading of libdirectfb.so. This may to turned off as well in configure
- Use linux-input by default. May be switched off by environment variable.
- Added some code which will use directfb's x11 backend when DISPLAY is set.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403460
This commit is contained in:
Sam Lantinga 2009-01-04 23:43:33 +00:00
parent ba8f64f259
commit 7c0f19e5aa
8 changed files with 98 additions and 26 deletions

View file

@ -68,7 +68,7 @@ DirectFB_InitMouse(_THIS)
SDL_DFB_DEVICEDATA(_this);
devdata->num_mice = 0;
if (LINUX_INPUT_SUPPORT) {
if (devdata->use_linux_input) {
/* try non-core devices first */
id_mask = 0xF0;
devdata->dfb->EnumInputDevices(devdata->dfb, EnumMice, devdata);
@ -100,7 +100,7 @@ DirectFB_QuitMouse(_THIS)
{
SDL_DFB_DEVICEDATA(_this);
if (LINUX_INPUT_SUPPORT) {
if (devdata->use_linux_input) {
SDL_MouseQuit();
} else {
SDL_DelMouse(0);