]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/blobdiff - mt_keys.c
Add simulator mode (for debugging without terminal)
[coffee/mt-apps.git] / mt_keys.c
index e72b17f65d914108911dd6774acd5de575f15594..015b8ae0095d34eb901e97ff7a9f4101d2cdb655 100644 (file)
--- a/mt_keys.c
+++ b/mt_keys.c
 #include "signal_exit.h"
 #include "json_helpers.h"
 
-void keys_json_print(int fd, char key)
-{
-       static const char *type = "keys";
-
-        JSON_START();
-        JSON_STR(type);
-        JSON_NEXT();
-        JSON_CHAR(key);
-        JSON_END();
-}
-
 static void keys_cb(EV_P_ ev_io *w_, int revents)
 {
     ev_io_keys *w = (ev_io_keys *)w_;