prosperon/source/engine/input.h

26 lines
562 B
C
Raw Normal View History

2021-11-30 21:29:18 -06:00
#ifndef INPUT_H
#define INPUT_H
2023-05-12 13:22:05 -05:00
#include "script.h"
#include <stdint.h>
#include "HandmadeMath.h"
#include "sokol_app.h"
2022-12-19 18:15:38 -06:00
2022-02-06 10:14:57 -06:00
void cursor_hide();
void cursor_show();
2024-02-25 17:31:48 -06:00
void cursor_img(const char *path);
void set_mouse_mode(int mousemode);
void touch_start(sapp_touchpoint *touch, int n);
void touch_move(sapp_touchpoint *touch, int n);
void touch_end(sapp_touchpoint *touch, int n);
void touch_cancelled(sapp_touchpoint *touch, int n);
2022-02-06 10:14:57 -06:00
2023-12-20 09:19:04 -06:00
void input_dropped_files(int n);
void input_clipboard_paste(char *str);
2023-12-20 09:19:04 -06:00
const char *keyname_extd(int key);
2023-04-19 15:16:35 -05:00
void quit();
2021-11-30 21:29:18 -06:00
#endif