working on big refactor

This commit is contained in:
Jonas Zeunert
2018-12-14 01:09:54 +01:00
parent f3100004b9
commit 2aee0f4f9d
67 changed files with 914 additions and 619 deletions

View File

@@ -7,14 +7,14 @@
#include "SocketHandler.h"
#include "input/IEventHandler.h"
#include "input/EventHandler.h"
#include <string>
namespace flippR_driver
{
namespace utility
{
class InputSocketHandler : public SocketHandler, public IEventHandler
class InputSocketHandler : public SocketHandler, public EventHandler
{
public:
explicit InputSocketHandler(boost::asio::io_service &service, std::string socket_file = "/var/run/user/" + std::to_string(getuid())

View File

@@ -14,7 +14,8 @@
#define INPUT_MATRIX_SIZE 8
#define INPUT_SLEEP_DURATION_NANO 800
#define INPUT_HANDLER_TIMEOUT_MILLI 2000
#define PULLDOWN false
#define DISPLAY_SLEEP_TIME_MILLISECONDS 1
#define DISPLAY_SLEEP_TIME_MILLI 1