mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
[input] Implement imt creation, binding, etc
Much testing is needed, but the bulk of imt management is implemented. Axis bindings are not properly implemented yet, though.
This commit is contained in:
parent
fd5abb4c61
commit
925ca8081c
5 changed files with 235 additions and 4 deletions
|
@ -85,8 +85,11 @@ void IMT_SetContextCbuf (int ctx, struct cbuf_s *cbuf);
|
|||
imt_t *IMT_FindIMT (const char *name);
|
||||
int IMT_CreateIMT (int context, const char *imt_name,
|
||||
const char *chain_imt_name);
|
||||
void IMT_BindAxis (imt_t *imt, int axis, const char *binding);
|
||||
void IMT_BindButton (imt_t *imt, int button, const char *binding);
|
||||
qboolean IMT_ProcessAxis (int axis, int value);
|
||||
qboolean IMT_ProcessButton (int button, int state);
|
||||
void IMT_Init (void);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue