aboutsummaryrefslogtreecommitdiffhomepage
path: root/uinput.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2018-02-18 03:22:37 +0100
committercbdev <cb@cbcdn.com>2018-02-18 03:22:37 +0100
commit3a15da130f8212f9ff7273673c2ce8c3a8bed859 (patch)
tree8b4124d66c5f74566ae0dacbe9e906d6937ef2b7 /uinput.h
parentddf2409b2b2ded5d2ab65d45ebba8005755e2c35 (diff)
downloadmidimonster-3a15da130f8212f9ff7273673c2ce8c3a8bed859.tar.gz
midimonster-3a15da130f8212f9ff7273673c2ce8c3a8bed859.tar.bz2
midimonster-3a15da130f8212f9ff7273673c2ce8c3a8bed859.zip
Rename uinput backend to evdev
Diffstat (limited to 'uinput.h')
-rw-r--r--uinput.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/uinput.h b/uinput.h
deleted file mode 100644
index f61ca4f..0000000
--- a/uinput.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#pragma once
-
-#include <sys/types.h>
-#include <linux/input.h>
-
-#include "midimonster.h"
-
-int init();
-static int backend_configure(char* option, char* value);
-static int backend_configure_instance(instance* instance, char* option, char* value);
-static instance* backend_instance();
-static channel* backend_channel(instance* instance, char* spec);
-static int backend_set(instance* inst, size_t num, channel** c, channel_value* v);
-static int backend_handle(size_t num, managed_fd* fds);
-static int backend_start();
-static int backend_shutdown();
-
-/* uinput_instance */
-typedef struct {
- int ident;
- char* device_path;
- char* name;
- int fd_in;
- int fd_out;
- int exclusive;
- size_t size_events;
- struct input_event* events;
-} uinput_instance;