| 1 |
/* ______ ___ ___ |
| 2 |
* /\ _ \ /\_ \ /\_ \ |
| 3 |
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ |
| 4 |
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ |
| 5 |
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ |
| 6 |
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ |
| 7 |
* \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/ |
| 8 |
* /\____/ |
| 9 |
* \_/__/ |
| 10 |
* |
| 11 |
* Linux console mouse driver list. |
| 12 |
* |
| 13 |
* By George Foot. |
| 14 |
* |
| 15 |
* See readme.txt for copyright information. |
| 16 |
*/ |
| 17 |
|
| 18 |
|
| 19 |
#include "allegro5/allegro.h" |
| 20 |
#include "allegro5/internal/aintern.h" |
| 21 |
#include "allegro5/internal/aintern_driver.h" |
| 22 |
#include "allegro5/platform/aintunix.h" |
| 23 |
#include "allegro5/platform/aintlnx.h" |
| 24 |
|
| 25 |
#ifdef ALLEGRO_RASPBERRYPI |
| 26 |
#include "allegro5/internal/aintern_raspberrypi.h" |
| 27 |
#endif |
| 28 |
|
| 29 |
/* list the available drivers */ |
| 30 |
_AL_DRIVER_INFO _al_linux_mouse_driver_list[] = |
| 31 |
{ |
| 32 |
/* These drivers have not been updated for the new mouse API. |
| 33 |
* They may be updated as required, although the evdev driver |
| 34 |
* should be fine on modern kernels --pw |
| 35 |
*/ |
| 36 |
/* { MOUSEDRV_LINUX_GPMDATA, &mousedrv_linux_gpmdata, true },*/ |
| 37 |
/* { MOUSEDRV_LINUX_MS, &mousedrv_linux_ms, true },*/ |
| 38 |
/* { MOUSEDRV_LINUX_IMS, &mousedrv_linux_ims, true },*/ |
| 39 |
/* { MOUSEDRV_LINUX_PS2, &mousedrv_linux_ps2, true },*/ |
| 40 |
/* { MOUSEDRV_LINUX_IPS2, &mousedrv_linux_ips2, true },*/ |
| 41 |
#if defined ALLEGRO_HAVE_LINUX_INPUT_H || defined ALLEGRO_RASPBERRYPI |
| 42 |
{ AL_MOUSEDRV_LINUX_EVDEV, &_al_mousedrv_linux_evdev, true }, |
| 43 |
#endif |
| 44 |
{ 0, NULL, 0 } |
| 45 |
}; |
| 46 |
|