#define PORT_ACT_LEFT       1
#define PORT_ACT_RIGHT      2
#define PORT_ACT_FWD        3
#define PORT_ACT_BACK       4
#define PORT_ACT_LOOK_UP    5
#define PORT_ACT_LOOK_DOWN  6
#define PORT_ACT_MOVE_LEFT  7
#define PORT_ACT_MOVE_RIGHT 8
#define PORT_ACT_STRAFE     9
#define PORT_ACT_SPEED      10
#define PORT_ACT_USE        11
#define PORT_ACT_JUMP       12
#define PORT_ACT_ATTACK     13
#define PORT_ACT_UP         14
#define PORT_ACT_DOWN       15

#define PORT_ACT_NEXT_WEP   16
#define PORT_ACT_PREV_WEP   17

//Quake2
#define PORT_ACT_INVEN     18
#define PORT_ACT_INVUSE    19
#define PORT_ACT_INVDROP   20
#define PORT_ACT_INVPREV   21
#define PORT_ACT_INVNEXT   22
#define PORT_ACT_HELPCOMP  23 //also RTCW

//Doom
#define PORT_ACT_MAP         30
#define PORT_ACT_MAP_UP      31
#define PORT_ACT_MAP_DOWN    32
#define PORT_ACT_MAP_LEFT    33
#define PORT_ACT_MAP_RIGHT   34
#define PORT_ACT_MAP_ZOOM_IN 35
#define PORT_ACT_MAP_ZOOM_OUT 36

//RTCW
#define PORT_ACT_ZOOM_IN    50 //Also used for Quake 3 zoom
#define PORT_ACT_ALT_FIRE   51
#define PORT_ACT_RELOAD     52
#define PORT_ACT_QUICKSAVE  53
#define PORT_ACT_QUICKLOAD  54
#define PORT_ACT_KICK       56

//JK2
//#define PORT_ACT_FORCE_LIGHTNING 60
//#define PORT_ACT_SABER_BLOCK     62
//#define PORT_ACT_FORCE_GRIP      63
#define PORT_ACT_ALT_ATTACK      64
#define PORT_ACT_NEXT_FORCE      65
#define PORT_ACT_PREV_FORCE      66
#define PORT_ACT_FORCE_USE       67
#define PORT_ACT_DATAPAD         68
#define PORT_ACT_FORCE_SELECT    69
#define PORT_ACT_WEAPON_SELECT   70
#define PORT_ACT_SABER_STYLE     71
#define PORT_ACT_SAVE_MENU       72 //NOT USED
#define PORT_ACT_LOAD_MENU       73 //NOT USED
#define PORT_ACT_THIRD_PERSON    74

#define PORT_ACT_FORCE_PULL      75
#define PORT_ACT_FORCE_MIND      76
#define PORT_ACT_FORCE_LIGHT     77
#define PORT_ACT_FORCE_HEAL      78
#define PORT_ACT_FORCE_GRIP      79
#define PORT_ACT_FORCE_SPEED     80
#define PORT_ACT_FORCE_PUSH      81

//JK3
#define PORT_ACT_FORCE_DRAIN     82
#define PORT_ACT_FORCE_RAGE      83
#define PORT_ACT_FORCE_PROTECT   84
#define PORT_ACT_FORCE_ABSORB    85
#define PORT_ACT_FORCE_SIGHT     86

#define PORT_ACT_SABER_SEL       87 //Just chooses weapon 1 so show/hide saber.


//Choloate
#define PORT_ACT_GAMMA       90

#define LOOK_MODE_MOUSE    0
#define LOOK_MODE_ABSOLUTE 1
#define LOOK_MODE_JOYSTICK 2




