diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-08-24 11:16:07 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-08-24 11:16:07 +0200 |
| commit | c068f22329d5cc722622a2183bbb22eef2093df7 (patch) | |
| tree | 12d56c1aede67988a55e241364606bfbb4dba933 /src/libparsec/include/keycodes.h | |
| download | openparsec-main.tar.xz openparsec-main.zip | |
Diffstat (limited to 'src/libparsec/include/keycodes.h')
| -rw-r--r-- | src/libparsec/include/keycodes.h | 28 |
1 files changed, 28 insertions, 0 deletions
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_ + + |
