summaryrefslogtreecommitdiff
path: root/src/user/include/knob/key.h
blob: 3597e2a78d7b00bacef63729283dae8275537cfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef KNOB_KEY_H
#define KNOB_KEY_H

#ifdef __cplusplus
extern "C" {
#endif

#include <keypack.h>

char key_to_char(struct key_packet kp) __attribute__ ((const));
bool match_side_agnostic(struct key_packet a, struct key_packet b) __attribute__ ((const));

#ifdef __cplusplus
}
#endif

#endif