mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-25 20:20:57 +00:00
20 lines
No EOL
527 B
C
20 lines
No EOL
527 B
C
#ifndef __C_BINDINGS_H__
|
|
#define __C_BINDINGS_H__
|
|
|
|
#include "doomtype.h"
|
|
#include "d_event.h"
|
|
#include <stdio.h>
|
|
|
|
BOOL C_DoKey (event_t *ev);
|
|
void C_ArchiveBindings (FILE *f);
|
|
|
|
// Stuff used by the customize controls menu
|
|
int C_GetKeysForCommand (char *cmd, int *first, int *second);
|
|
void C_NameKeys (char *str, int first, int second);
|
|
void C_UnbindACommand (char *str);
|
|
void C_ChangeBinding (char *str, int newone);
|
|
|
|
// Returns string bound to given key (NULL if none)
|
|
char *C_GetBinding (int key);
|
|
|
|
#endif //__C_BINDINGS_H__
|