mirror of https://github.com/sm64pc/sm64pc.git
23 lines
412 B
C
23 lines
412 B
C
#ifndef CONTROLLER_KEYBOARD_H
|
|
#define CONTROLLER_KEYBOARD_H
|
|
|
|
#include <stdbool.h>
|
|
#include "controller_api.h"
|
|
|
|
# define VK_BASE_KEYBOARD 0x0000
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
bool keyboard_on_key_down(int scancode);
|
|
bool keyboard_on_key_up(int scancode);
|
|
void keyboard_on_all_keys_up(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
extern bool accept_input;
|
|
extern struct ControllerAPI controller_keyboard;
|
|
|
|
#endif
|