From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- src/libparsec/include/keycodes.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/libparsec/include/keycodes.h (limited to 'src/libparsec/include/keycodes.h') diff --git a/src/libparsec/include/keycodes.h b/src/libparsec/include/keycodes.h new file mode 100644 index 0000000..40442a4 --- /dev/null +++ b/src/libparsec/include/keycodes.h @@ -0,0 +1,28 @@ +/* + * PARSEC HEADER: keycodes.h + */ + +#ifndef _KEYCODES_H_ +#define _KEYCODES_H_ + + +//NOTE: +// this header is now just a wrapper for the +// file corresponding to the actual system + +//NOTE: +// only on the mac the actual keycodes are adapted to the system. +// all other systems (e.g., Linux, IRIX) map native key codes to +// parsec key codes in their keyboard handlers. that is, from +// there on, the same key codes as on a pc are used. + +#ifdef PARSEC_SERVER +#include "keys_server.h" +#else +#include "keys_sdl.h" +#endif + + +#endif // _KEYCODES_H_ + + -- cgit v1.2.3