24 lines
436 B
C
24 lines
436 B
C
#pragma once
|
|
|
|
#include <symbols/minecraft.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*input_tick_function_t)(Minecraft *minecraft);
|
|
void input_run_on_tick(input_tick_function_t function);
|
|
|
|
void input_set_is_right_click(int val);
|
|
int input_back();
|
|
void input_drop(int drop_slot);
|
|
void input_open_crafting();
|
|
|
|
void input_set_is_left_click(int val);
|
|
|
|
void input_set_mouse_grab_state(int state);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|