Re: [AD] [Lin] KEY_* redefined and most shared driver modules not getting built.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:

> 1. When compiling (with kernel 2.4.*) ljoy.c includes
>    linux/joystick.h which includes linux/input.h
>    which defines a ton of KEY_* macros.

in ljoy.c before #include <linux/joystick.h> add the line:

#define KEY LJOY_KEY

...and tell me if it works.

-henrik




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/