working on big refactor
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user