GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_keys.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3 * Copyright (C) 2009-2022 Cyril Hrubis <metan@ucw.cz>
4 */
5
11#ifndef INPUT_GP_KEYS_H
12#define INPUT_GP_KEYS_H
13
14#include <input/gp_event_keys.h>
15
25int gp_ev_key_val(const char *name);
26
33const char *gp_ev_key_name(unsigned int val);
34
35#endif /* INPUT_GP_KEYS_H */
Key event values.
const char * gp_ev_key_name(unsigned int val)
Returns a key name.
int gp_ev_key_val(const char *name)
Parses a key name and returns key value.