2004-08-23 00:15:46 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 1996-1997 Id Software, Inc.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2007-09-23 15:05:42 +00:00
|
|
|
#ifndef __CLIENT_KEYS_H__
|
|
|
|
#define __CLIENT_KEYS_H__
|
|
|
|
|
2017-05-18 10:24:09 +00:00
|
|
|
enum
|
|
|
|
{ //fte's assumed gamepad axis
|
|
|
|
GPAXIS_LT_RIGHT = 0,
|
|
|
|
GPAXIS_LT_DOWN = 1,
|
|
|
|
GPAXIS_LT_AUX = 2,
|
|
|
|
|
|
|
|
GPAXIS_RT_RIGHT = 3,
|
|
|
|
GPAXIS_RT_DOWN = 4,
|
|
|
|
GPAXIS_RT_AUX = 5,
|
|
|
|
|
|
|
|
//gah
|
|
|
|
#define GPAXIS_LT_TRIGGER GPAXIS_LT_AUX
|
|
|
|
#define GPAXIS_RT_TRIGGER GPAXIS_RT_AUX
|
|
|
|
};
|
|
|
|
|
2004-08-23 00:15:46 +00:00
|
|
|
//
|
|
|
|
// these are the key numbers that should be passed to Key_Event
|
|
|
|
//
|
|
|
|
enum {
|
|
|
|
K_TAB = 9,
|
|
|
|
K_ENTER = 13,
|
|
|
|
K_ESCAPE = 27,
|
|
|
|
K_SPACE = 32,
|
|
|
|
|
|
|
|
// normal keys should be passed as lowercased ascii
|
|
|
|
|
|
|
|
K_BACKSPACE = 127,
|
|
|
|
|
|
|
|
|
|
|
|
K_SCRLCK,
|
|
|
|
K_CAPSLOCK,
|
|
|
|
K_POWER,
|
|
|
|
K_PAUSE,
|
|
|
|
|
|
|
|
K_UPARROW,
|
|
|
|
K_DOWNARROW,
|
|
|
|
K_LEFTARROW,
|
|
|
|
K_RIGHTARROW,
|
|
|
|
|
2013-04-13 08:15:18 +00:00
|
|
|
K_LALT,
|
2013-05-03 04:28:08 +00:00
|
|
|
K_LCTRL,
|
|
|
|
K_LSHIFT,
|
2004-08-23 00:15:46 +00:00
|
|
|
K_INS,
|
|
|
|
K_DEL,
|
|
|
|
K_PGDN,
|
|
|
|
K_PGUP,
|
|
|
|
K_HOME,
|
|
|
|
K_END,
|
|
|
|
|
|
|
|
K_F1,
|
|
|
|
K_F2,
|
|
|
|
K_F3,
|
|
|
|
K_F4,
|
|
|
|
K_F5,
|
|
|
|
K_F6,
|
|
|
|
K_F7,
|
|
|
|
K_F8,
|
|
|
|
K_F9,
|
|
|
|
K_F10,
|
|
|
|
K_F11,
|
|
|
|
K_F12,
|
|
|
|
K_F13,
|
|
|
|
K_F14,
|
|
|
|
K_F15,
|
|
|
|
|
|
|
|
K_KP_HOME,
|
|
|
|
K_KP_UPARROW,
|
|
|
|
K_KP_PGUP,
|
|
|
|
K_KP_LEFTARROW,
|
|
|
|
K_KP_5,
|
|
|
|
K_KP_RIGHTARROW,
|
|
|
|
K_KP_END,
|
|
|
|
K_KP_DOWNARROW,
|
|
|
|
K_KP_PGDN,
|
|
|
|
K_KP_ENTER,
|
|
|
|
K_KP_INS,
|
|
|
|
K_KP_DEL,
|
|
|
|
K_KP_SLASH,
|
|
|
|
K_KP_MINUS,
|
|
|
|
K_KP_PLUS,
|
|
|
|
K_KP_NUMLOCK,
|
|
|
|
K_KP_STAR,
|
|
|
|
K_KP_EQUALS,
|
|
|
|
|
|
|
|
//
|
|
|
|
// mouse buttons generate virtual keys
|
|
|
|
//
|
|
|
|
K_MOUSE1,
|
|
|
|
K_MOUSE2,
|
|
|
|
K_MOUSE3,
|
|
|
|
K_MOUSE4,
|
|
|
|
K_MOUSE5,
|
2005-06-18 22:30:57 +00:00
|
|
|
K_MOUSE6,
|
|
|
|
K_MOUSE7,
|
|
|
|
K_MOUSE8,
|
|
|
|
K_MOUSE9,
|
|
|
|
K_MOUSE10,
|
2004-08-23 00:15:46 +00:00
|
|
|
|
|
|
|
// JACK: Intellimouse(c) Mouse Wheel Support
|
|
|
|
K_MWHEELUP,
|
2005-06-18 22:30:57 +00:00
|
|
|
K_MWHEELDOWN, // 189
|
2004-08-23 00:15:46 +00:00
|
|
|
|
2017-05-18 10:24:09 +00:00
|
|
|
K_GP_A = 190,
|
|
|
|
K_GP_B = 191,
|
|
|
|
K_GP_X = 192,
|
|
|
|
K_GP_Y = 193,
|
|
|
|
K_GP_LEFT_SHOULDER = 194,
|
|
|
|
K_GP_RIGHT_SHOULDER = 195,
|
|
|
|
K_GP_LEFT_TRIGGER = 196,
|
|
|
|
K_GP_RIGHT_TRIGGER = 197,
|
|
|
|
K_GP_BACK = 198,
|
|
|
|
K_GP_START = 199,
|
|
|
|
K_GP_LEFT_THUMB = 200,
|
|
|
|
K_GP_RIGHT_THUMB = 201,
|
|
|
|
K_GP_GUIDE = 202,
|
|
|
|
|
2004-08-23 00:15:46 +00:00
|
|
|
//
|
|
|
|
// joystick buttons
|
|
|
|
//
|
|
|
|
K_JOY1 = 203,
|
|
|
|
K_JOY2 = 204,
|
|
|
|
K_JOY3 = 205,
|
|
|
|
K_JOY4 = 206,
|
|
|
|
|
|
|
|
//
|
|
|
|
// aux keys are for multi-buttoned joysticks to generate so they can use
|
|
|
|
// the normal binding process
|
|
|
|
//
|
|
|
|
K_AUX1 = 207,
|
|
|
|
K_AUX2 = 208,
|
|
|
|
K_AUX3 = 209,
|
|
|
|
K_AUX4 = 210,
|
|
|
|
K_AUX5 = 211,
|
|
|
|
K_AUX6 = 212,
|
|
|
|
K_AUX7 = 213,
|
|
|
|
K_AUX8 = 214,
|
|
|
|
K_AUX9 = 215,
|
|
|
|
K_AUX10 = 216,
|
|
|
|
K_AUX11 = 217,
|
|
|
|
K_AUX12 = 218,
|
|
|
|
K_AUX13 = 219,
|
|
|
|
K_AUX14 = 220,
|
|
|
|
K_AUX15 = 221,
|
|
|
|
K_AUX16 = 222,
|
|
|
|
K_AUX17 = 223,
|
|
|
|
K_AUX18 = 224,
|
|
|
|
K_AUX19 = 225,
|
|
|
|
K_AUX20 = 226,
|
|
|
|
K_AUX21 = 227,
|
|
|
|
K_AUX22 = 228,
|
|
|
|
K_AUX23 = 229,
|
|
|
|
K_AUX24 = 230,
|
|
|
|
K_AUX25 = 231,
|
|
|
|
K_AUX26 = 232,
|
|
|
|
K_AUX27 = 233,
|
|
|
|
K_AUX28 = 234,
|
|
|
|
K_AUX29 = 235,
|
|
|
|
K_AUX30 = 236,
|
|
|
|
K_AUX31 = 237,
|
|
|
|
K_AUX32 = 238,
|
2017-06-21 01:24:25 +00:00
|
|
|
|
2004-09-05 23:15:51 +00:00
|
|
|
K_LWIN = 239,
|
|
|
|
K_RWIN = 240,
|
2005-07-05 23:46:10 +00:00
|
|
|
K_APP = 241,
|
Android: fat presses, vibrator, onscreen keyboard, keep-screen-on, console scaling, touch-based console scrolling, additional bindables.
Some memory leaks fixed.
latency with the nq protocol over loopback is much reduced.
Terrain: now mostly a property of a (q1 for now) bsp map, file format changed, glsl now built in, terrain editor builtin improved/changed, holes supported.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 16:25:18 +00:00
|
|
|
K_SEARCH = 242,
|
|
|
|
K_VOLUP = 243,
|
|
|
|
K_VOLDOWN = 244,
|
2013-04-13 08:15:18 +00:00
|
|
|
K_RALT = 245,
|
2013-05-11 14:02:55 +00:00
|
|
|
K_RCTRL = 246,
|
|
|
|
K_RSHIFT = 247,
|
|
|
|
K_PRINTSCREEN = 248,
|
2005-07-05 23:46:10 +00:00
|
|
|
|
2017-05-18 10:24:09 +00:00
|
|
|
//K_UNUSED = 249,
|
|
|
|
//K_UNUSED = 250,
|
|
|
|
|
|
|
|
K_GP_DPAD_UP = 251,
|
|
|
|
K_GP_DPAD_DOWN = 252,
|
|
|
|
K_GP_DPAD_LEFT = 253,
|
|
|
|
K_GP_DPAD_RIGHT = 254,
|
|
|
|
K_GP_UNKNOWN = 255,
|
|
|
|
|
2018-04-27 16:40:50 +00:00
|
|
|
//axis->button emulation. for weird people.
|
|
|
|
K_GP_LEFT_THUMB_UP,
|
|
|
|
K_GP_LEFT_THUMB_DOWN,
|
|
|
|
K_GP_LEFT_THUMB_LEFT,
|
|
|
|
K_GP_LEFT_THUMB_RIGHT,
|
|
|
|
K_GP_RIGHT_THUMB_UP,
|
|
|
|
K_GP_RIGHT_THUMB_DOWN,
|
|
|
|
K_GP_RIGHT_THUMB_LEFT,
|
|
|
|
K_GP_RIGHT_THUMB_RIGHT,
|
|
|
|
K_JOY_UP,
|
|
|
|
K_JOY_DOWN,
|
|
|
|
K_JOY_LEFT,
|
|
|
|
K_JOY_RIGHT,
|
|
|
|
|
2018-04-06 17:21:15 +00:00
|
|
|
K_MM_BROWSER_BACK,
|
|
|
|
K_MM_BROWSER_FAVORITES,
|
|
|
|
K_MM_BROWSER_FORWARD,
|
|
|
|
K_MM_BROWSER_HOME,
|
|
|
|
K_MM_BROWSER_REFRESH,
|
|
|
|
K_MM_BROWSER_STOP,
|
|
|
|
K_MM_VOLUME_MUTE,
|
|
|
|
K_MM_TRACK_NEXT,
|
|
|
|
K_MM_TRACK_PREV,
|
|
|
|
K_MM_TRACK_STOP,
|
|
|
|
K_MM_TRACK_PLAYPAUSE,
|
2017-06-21 01:24:25 +00:00
|
|
|
|
|
|
|
K_MAX
|
2004-08-23 00:15:46 +00:00
|
|
|
};
|
|
|
|
|
Reworked client support for DPP5+. less code now, its much more graceful.
added waterfog command. waterfog overrides regular fog only when the view is in water.
fixed 64bit printf format specifiers. should work better on winxp64.
fixed some spec angle weirdness.
fixed viewsize 99.99 weirdness with ezhud.
fixed extra offset on the console (exhibited in 64bit builds, but not limited to).
fixed .avi playback, can now actually display frames again.
reimplemented line sparks.
fixed r_editlights_save flipping the light's pitch.
fixed issue with oggs failing to load.
fixed condump to cope with unicode properly.
made sv_bigcoords default except in quake. hexen2 kinda needs it for bsp angle precision.
fixed nq server to not stall weirdly on map changes.
fixed qwprogs svc_cdtrack not bugging out with nq clients on the server.
fixed restart command to load the last map run by the server, instead of start.bsp (when idle)
optimised d3d9 renderer a little. now uses less draw calls, especially with complex scenes. seems to get higher framerates than opengl now.
fixed d3d9 renderer to not bug out quite so much when run fullscreen (shader subsystem is now correctly initialised).
fixed a couple of bugs from font change. also now supports utf-8 in a few more places.
r_editlights_reload no longer generates rtlights inside the void. this resolves a few glitches (but should also help framerates a little).
fixed so corona-only lights won't generate shadowmaps and waste lots of time.
removed lots of #defines from qclib. I should never have made them in the first place, but I was lazy. obviously there's more left that I cba to remove yet.
fixed nested calls with variant-vectors. this fixes csaddon's light editor.
fixed qcc hc calling conventions using redundant stores.
disabled keywords can still be used by using __keyword instead.
fixed ftegccgui grep feature.
fixed motionless-dog qcc bug.
tweaked qcc warnings a little. -Wall is now a viable setting. you should be able to fix all those warnings.
fixed qw svc_intermission + dpp5+ clients bug.
fixed annoying spam about disconnecting in hexen2.
rewrote status command a little to cope with ipv6 addresses more gracefully
fixed significant stall when hibernating/debugging a server with a player sitting on it.
fixed truelightning.
fixed rocketlight overriding pflags.
fixed torches vanishing on vid_restart.
fixed issue with decal scaling.
fixed findentityfield builtin.
fixed fteqcc issue with ptr+1
fixed use of arrays inside class functions.
fixed/implemented fteqcc emulation of pointer opcodes.
added __inout keyword to fteqcc, so that it doesn't feel so horrendous.
fixed sizeof(*foo)
fixed *struct = struct;
fixed recursive structs.
fixed fteqcc warning report.
fixed sdl2 controller support, hopefully.
attempted to implement xinput, including per-player audio playback.
slightly fixed relaxed attitude to mouse focus when running fullscreen.
fixed weird warnings/errors with 'ent.arrayhead' terms. now generates sane errors.
implemented bindmaps (for csqc).
fixed crashing bug with eprint builtin.
implemented subset of music_playlist_* functionality. significant changes to music playback.
fixed some more dpcsqc compat.
fixed binds menu. now displays and accepts modifiers.
fixed issues with huge lightmaps.
fixed protocol determinism with dp clients connecting to fte servers. the initial getchallenge request now inhibits vanilla nq connection requests.
implemented support for 'dupe' userinfo key, allowing clients to request client->server packet duplication. should probably queue them tbh.
implemented sv_saveentfile command.
fixed resume after breaking inside a stepped-over function.
fixed erroneous footer after debugging.
(I wonder just how many things I broke with these fixes)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-26 10:56:18 +00:00
|
|
|
#define KEY_MODIFIER_SHIFT (1<<0)
|
|
|
|
#define KEY_MODIFIER_ALT (1<<1)
|
|
|
|
#define KEY_MODIFIER_CTRL (1<<2)
|
2018-04-27 16:40:50 +00:00
|
|
|
//#define KEY_MODIFIER_META (1<<?) do we want?
|
Reworked client support for DPP5+. less code now, its much more graceful.
added waterfog command. waterfog overrides regular fog only when the view is in water.
fixed 64bit printf format specifiers. should work better on winxp64.
fixed some spec angle weirdness.
fixed viewsize 99.99 weirdness with ezhud.
fixed extra offset on the console (exhibited in 64bit builds, but not limited to).
fixed .avi playback, can now actually display frames again.
reimplemented line sparks.
fixed r_editlights_save flipping the light's pitch.
fixed issue with oggs failing to load.
fixed condump to cope with unicode properly.
made sv_bigcoords default except in quake. hexen2 kinda needs it for bsp angle precision.
fixed nq server to not stall weirdly on map changes.
fixed qwprogs svc_cdtrack not bugging out with nq clients on the server.
fixed restart command to load the last map run by the server, instead of start.bsp (when idle)
optimised d3d9 renderer a little. now uses less draw calls, especially with complex scenes. seems to get higher framerates than opengl now.
fixed d3d9 renderer to not bug out quite so much when run fullscreen (shader subsystem is now correctly initialised).
fixed a couple of bugs from font change. also now supports utf-8 in a few more places.
r_editlights_reload no longer generates rtlights inside the void. this resolves a few glitches (but should also help framerates a little).
fixed so corona-only lights won't generate shadowmaps and waste lots of time.
removed lots of #defines from qclib. I should never have made them in the first place, but I was lazy. obviously there's more left that I cba to remove yet.
fixed nested calls with variant-vectors. this fixes csaddon's light editor.
fixed qcc hc calling conventions using redundant stores.
disabled keywords can still be used by using __keyword instead.
fixed ftegccgui grep feature.
fixed motionless-dog qcc bug.
tweaked qcc warnings a little. -Wall is now a viable setting. you should be able to fix all those warnings.
fixed qw svc_intermission + dpp5+ clients bug.
fixed annoying spam about disconnecting in hexen2.
rewrote status command a little to cope with ipv6 addresses more gracefully
fixed significant stall when hibernating/debugging a server with a player sitting on it.
fixed truelightning.
fixed rocketlight overriding pflags.
fixed torches vanishing on vid_restart.
fixed issue with decal scaling.
fixed findentityfield builtin.
fixed fteqcc issue with ptr+1
fixed use of arrays inside class functions.
fixed/implemented fteqcc emulation of pointer opcodes.
added __inout keyword to fteqcc, so that it doesn't feel so horrendous.
fixed sizeof(*foo)
fixed *struct = struct;
fixed recursive structs.
fixed fteqcc warning report.
fixed sdl2 controller support, hopefully.
attempted to implement xinput, including per-player audio playback.
slightly fixed relaxed attitude to mouse focus when running fullscreen.
fixed weird warnings/errors with 'ent.arrayhead' terms. now generates sane errors.
implemented bindmaps (for csqc).
fixed crashing bug with eprint builtin.
implemented subset of music_playlist_* functionality. significant changes to music playback.
fixed some more dpcsqc compat.
fixed binds menu. now displays and accepts modifiers.
fixed issues with huge lightmaps.
fixed protocol determinism with dp clients connecting to fte servers. the initial getchallenge request now inhibits vanilla nq connection requests.
implemented support for 'dupe' userinfo key, allowing clients to request client->server packet duplication. should probably queue them tbh.
implemented sv_saveentfile command.
fixed resume after breaking inside a stepped-over function.
fixed erroneous footer after debugging.
(I wonder just how many things I broke with these fixes)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2015-07-26 10:56:18 +00:00
|
|
|
#define KEY_MODIFIER_ALTBINDMAP (1<<3)
|
|
|
|
#define KEY_MODIFIERSTATES (1<<4)
|
2015-06-04 06:15:14 +00:00
|
|
|
|
2017-05-18 10:24:09 +00:00
|
|
|
//legacy aliases, lest we ever forget!
|
2013-05-03 04:28:08 +00:00
|
|
|
#define K_SHIFT K_LSHIFT
|
|
|
|
#define K_CTRL K_LCTRL
|
2013-04-13 08:15:18 +00:00
|
|
|
#define K_ALT K_LALT
|
2018-04-27 16:40:50 +00:00
|
|
|
#define K_WIN K_LWIN
|
2007-09-23 22:00:19 +00:00
|
|
|
|
2018-06-02 08:55:57 +00:00
|
|
|
#ifdef __QUAKEDEF_H__
|
2013-10-08 14:28:11 +00:00
|
|
|
typedef enum //highest has priority
|
|
|
|
{
|
2015-04-14 23:12:17 +00:00
|
|
|
kdm_game = 1u<<0, //should always be set
|
2017-07-28 01:49:25 +00:00
|
|
|
kdm_centerprint = 1u<<1, //enabled when there's a centerprint menu with clickable things.
|
|
|
|
kdm_message = 1u<<2,
|
|
|
|
kdm_gmenu = 1u<<3, //menu.dat
|
2018-05-21 13:47:53 +00:00
|
|
|
#ifdef MENU_NATIVECODE
|
2018-06-02 08:55:57 +00:00
|
|
|
kdm_nmenu = 1u<<4, //should probably reuse gmenu...
|
2018-05-21 13:47:53 +00:00
|
|
|
#else
|
|
|
|
kdm_nmenu = 0,
|
|
|
|
#endif
|
|
|
|
kdm_emenu = 1u<<5, //engine's menus
|
|
|
|
kdm_editor = 1u<<6,
|
|
|
|
kdm_console = 1u<<7,
|
|
|
|
kdm_cwindows = 1u<<8,
|
2013-10-08 14:28:11 +00:00
|
|
|
} keydestmask_t;
|
|
|
|
|
|
|
|
//unsigned int Key_Dest_Get(void); //returns highest priority destination
|
|
|
|
#define Key_Dest_Add(kdm) (key_dest_mask |= (kdm))
|
|
|
|
#define Key_Dest_Remove(kdm) (key_dest_mask &= ~(kdm))
|
|
|
|
#define Key_Dest_Has(kdm) (key_dest_mask & (kdm))
|
2018-05-21 13:47:53 +00:00
|
|
|
#define Key_Dest_Has_Higher(kdm) (key_dest_mask & (~0&~((kdm)|((kdm)-1)))) //must be a single bit
|
2013-10-08 14:28:11 +00:00
|
|
|
#define Key_Dest_Toggle(kdm) do {if (key_dest_mask & kdm) Key_Dest_Remove(kdm); else Key_Dest_Add(kdm);}while(0)
|
|
|
|
|
|
|
|
extern unsigned int key_dest_absolutemouse; //if the active key dest bit is set, the mouse is absolute.
|
|
|
|
extern unsigned int key_dest_mask;
|
2017-06-21 01:24:25 +00:00
|
|
|
extern char *keybindings[K_MAX][KEY_MODIFIERSTATES];
|
2005-07-05 23:46:10 +00:00
|
|
|
extern int key_repeats[K_MAX];
|
2004-08-23 00:15:46 +00:00
|
|
|
extern int key_count; // incremented every key event
|
|
|
|
extern int key_lastpress;
|
|
|
|
|
2014-09-02 02:44:43 +00:00
|
|
|
enum
|
|
|
|
{
|
2018-05-21 13:47:53 +00:00
|
|
|
kc_game, //csprogs.dat
|
|
|
|
kc_menu, //menu.dat
|
|
|
|
#ifdef MENU_NATIVECODE
|
|
|
|
kc_nmenu,
|
|
|
|
#endif
|
|
|
|
kc_console, //generic engine-defined cursor
|
2014-09-02 02:44:43 +00:00
|
|
|
kc_max
|
|
|
|
};
|
|
|
|
extern struct key_cursor_s
|
|
|
|
{
|
|
|
|
char name[MAX_QPATH];
|
|
|
|
float hotspot[2];
|
|
|
|
float scale;
|
|
|
|
qboolean dirty;
|
|
|
|
void *handle;
|
|
|
|
} key_customcursor[kc_max];
|
|
|
|
|
2013-11-21 23:02:28 +00:00
|
|
|
extern unsigned char *chat_buffer;
|
|
|
|
extern int chat_bufferpos;
|
2004-08-23 00:15:46 +00:00
|
|
|
extern qboolean chat_team;
|
|
|
|
|
2016-07-21 19:27:59 +00:00
|
|
|
void Key_Event (unsigned int devid, int key, unsigned int unicode, qboolean down);
|
2004-08-23 00:15:46 +00:00
|
|
|
void Key_Init (void);
|
2015-06-15 20:11:27 +00:00
|
|
|
void IN_WriteButtons(vfsfile_t *f, qboolean all);
|
2013-12-29 22:48:28 +00:00
|
|
|
void Key_WriteBindings (struct vfsfile_s *f);
|
2018-12-11 00:20:59 +00:00
|
|
|
void Key_SetBinding (int keynum, int modifier, const char *binding, int cmdlevel);
|
2004-08-23 00:15:46 +00:00
|
|
|
void Key_ClearStates (void);
|
2017-07-28 01:49:25 +00:00
|
|
|
qboolean Key_Centerprint(int key, int unicode, unsigned int devid);
|
2012-07-05 19:42:36 +00:00
|
|
|
void Key_Unbindall_f (void); //aka: Key_Shutdown
|
2016-07-12 00:40:13 +00:00
|
|
|
void Key_ConsoleReplace(const char *instext);
|
2017-07-28 01:49:25 +00:00
|
|
|
void Key_DefaultLinkClicked(console_t *con, char *text, char *info);
|
2004-08-23 00:15:46 +00:00
|
|
|
|
2018-04-27 16:40:50 +00:00
|
|
|
qboolean Key_Console (console_t *con, int key, unsigned int unicode);
|
|
|
|
void Key_ConsoleRelease(console_t *con, int key, unsigned int unicode);
|
|
|
|
|
2013-08-21 07:14:39 +00:00
|
|
|
struct console_s;
|
|
|
|
qboolean Key_GetConsoleSelectionBox(struct console_s *con, int *sx, int *sy, int *ex, int *ey);
|
2011-03-12 13:52:24 +00:00
|
|
|
qboolean Key_MouseShouldBeFree(void);
|
2018-11-27 16:48:19 +00:00
|
|
|
|
|
|
|
const char *Key_Demoji(char *buffer, size_t buffersize, const char *in); //strips out :smile: stuff.
|
2018-06-02 08:55:57 +00:00
|
|
|
#endif
|
2007-09-23 15:05:42 +00:00
|
|
|
#endif
|
|
|
|
|