input.h

Go to the documentation of this file.
00001 #ifndef _ANTI_INPUT_
00002 #define _ANTI_INPUT_
00003 
00004 #include "antistd.h"
00005 
00006 #ifdef _ANTI_SDL
00007 void aeInitInput();
00008 
00009 void aeKeyboard(byte*);
00010 void aeMouse(int,int,byte);
00011 void aeResize(int,int);
00012 
00013 void (*__aeKeyboardCallback)(byte*);
00014 void (*__aeMouseCallback)(int,int,byte);
00015 void (*__aeResizeCallback)(int,int);
00016 
00017 void (*__aeKeyDownCallback)(int);
00018 void (*__aeKeyUpCallback)(int);
00019 void (*__aeKeyPressCallback)(int);
00020 ushort __aeKeysPrev[322];
00021 uint __aeKeysSince[322];
00022 
00023 void (*__aeMouseMoveCallback)(int,int);
00024 void (*__aeMouseMoveRelCallback)(int,int);
00025 void (*__aeMouseDownCallback)(int,int,byte);
00026 void (*__aeMouseUpCallback)(int,int,byte);
00027 void (*__aeMouseClickCallback)(int,int,byte);
00028 ushort __aeMousePrevX;
00029 ushort __aeMousePrevY;
00030 byte __aeMousePrevB[3];
00031 uint __aeMouseSince[3];
00032 
00033 uint __aeScreenWidth;
00034 uint __aeScreenHeight;
00035 float __aeScreenAspect;
00036 
00037 int __aeOverrideKeyboard;
00038 int __aeOverrideMouse;
00039 int __aeOverrideResize;
00040 
00041 void aeSetKeyboardCallback(void(*)(byte*),int);
00042 void aeSetMouseCallback(void(*)(int,int,byte),int);
00043 void aeSetResizeCallback(void(*)(int,int),int);
00044 void aeSetKeyDownCallback(void(*)(int));
00045 void aeSetKeyUpCallback(void(*)(int));
00046 void aeSetKeyPressCallback(void(*)(int));
00047 void aeSetMouseMoveCallback(void(*)(int,int));
00048 void aeSetMouseMoveRelCallback(void(*)(int,int));
00049 void aeSetMouseDownCallback(void(*)(int,int,byte));
00050 void aeSetMouseUpCallback(void(*)(int,int,byte));
00051 void aeSetMouseClickCallback(void(*)(int,int,byte));
00052 #endif
00053 
00054 #ifdef _ANTI_GLUT
00055 void aeInitInput();
00056 
00057 void aeKeyboard();
00058 void aeMouse();
00059 void aeMouseMotion();
00060 void aeMouseEntry();
00061 void aeResize();
00062 
00063 
00064 #endif
00065 
00066 #endif

Generated on Fri Jun 1 09:08:53 2007 for Antigone by  doxygen 1.4.7