Re: [AD] Problems with keyboard |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Thursday 14 October 2004 3:46 am, Evert Glebbeek wrote:
> Maybe there are #ifdef stuff/#undef stuff pairs somewhere?
> This brings me to a different idea: how about only defining the Allegro
> constants if the system doesn't define its own? I have no idea if this
> could work or not, but this may also reduce the pain of some of the issues
> with the current keyboard driver (don't know, really. Shot in the dark).
On Thursday 14 October 2004 3:45 am, KittyCat wrote:
> "That won't work, because it may only be some keys, and we wouldn't know
> what they're defined to.. so we could end up defining KEY_PGDN to be the
> same as KEY_F without knowing it.
>
> I think the best thing to do is put Linux's definitions first, then put an
> #undef right before Allegro defines each key."
(He's still having trouble emailing to [AD])
--
Regards,
Ryan Patterson <mailto:rpatters@xxxxxxxxxx>