path: root/utils/keytable/bpf_load.h
diff options
authorSean Young <sean@mess.org>2018-05-20 12:01:46 +0100
committerSean Young <sean@mess.org>2018-08-13 10:15:52 +0100
commit3646338823747f62052bb257a1314994431303b9 (patch)
tree339a7cdd8182e884bb79f435a84d2a3a17f8a9a9 /utils/keytable/bpf_load.h
parent91b37c0d9cb71fc2d5f78cc96aa2ef9f3bba145b (diff)
keytable: add toml keymap reader
We would like to define BPF based IR protocols from rc_keymaps. We will need per-protocol parameters, so we need a more flexible format than the existing plain-text format. At some point in the future it would nice to change rc-core keycode mapping to protocol + 64 bit scancode -> keycode, rather the existing 32 bit scancode -> keycode. In order to make this possible, we want the scancodes to be specified for their protocol, in case multiple protocols are selected. Signed-off-by: Sean Young <sean@mess.org>
Diffstat (limited to 'utils/keytable/bpf_load.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/keytable/bpf_load.h b/utils/keytable/bpf_load.h
index ec9763e4..2775607f 100644
--- a/utils/keytable/bpf_load.h
+++ b/utils/keytable/bpf_load.h
@@ -36,7 +36,7 @@ struct bpf_map_data {
* returns zero on success
-int load_bpf_file(const char *path, int lirc_fd);
+int load_bpf_file(const char *path, int lirc_fd, struct toml_table_t *toml);
int bpf_param(const char *name, int *val);

Privacy Policy