aboutsummaryrefslogtreecommitdiff
path: root/src/controller.h
blob: 30c73d187d315bcc14afb296b32141dc2bfdbb58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "config.h"

b32 is_button_pressed(i32 btn);
b32 is_button_held(i32 btn);
b32 is_button_released(i32 btn);

vec2 get_dir_input(void);

// This portion is implemented in rumble.c! //
void set_rumble(f32 duration, f32 strength);
void poll_rumble(f32 dt);
void stop_rumble(void);