2016-10-15 15:35:08 +01:00
|
|
|
/**
|
2017-01-13 22:40:12 +00:00
|
|
|
* Copyright (c) 2017 rxi
|
2014-06-13 21:01:19 +01:00
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or modify it
|
|
|
|
|
* under the terms of the MIT license. See LICENSE for details.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef KEYBOARD_H
|
|
|
|
|
#define KEYBOARD_H
|
|
|
|
|
|
|
|
|
|
int keyboard_init(void);
|
|
|
|
|
void keyboard_deinit(void);
|
2016-10-15 15:35:08 +01:00
|
|
|
void keyboard_setKeyRepeat(int allow);
|
|
|
|
|
int keyboard_isDown(const char *key);
|
2016-10-16 11:41:56 +01:00
|
|
|
void keyboard_update(void);
|
2014-06-13 21:01:19 +01:00
|
|
|
|
|
|
|
|
#endif
|