This commit is contained in:
Jonas Zeunert
2018-05-31 16:19:24 +02:00
parent e2a02015b6
commit 2bef8b6f2d
8 changed files with 12 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
#include <map>
#include "../utilities/InputGPIOInterface.h"
#include "InputEvent.h"
#include "InputEvent.hpp"
#include "InputEventNotifier.h"
#define SLEEP_DURATION_NANO 900

View File

@@ -12,8 +12,8 @@
#ifndef INPUTEVENTHANDLER_H_
#define INPUTEVENTHANDLER_H_
#include "InputEvent.h"
#include "Detector.h"
#include "InputEvent.hpp"
namespace Input
{

View File

@@ -13,8 +13,8 @@
#include <mutex>
#include "../utilities/BlockingQueue.hpp"
#include "InputEventHandler.h"
#include "InputEvent.h"
#include "InputEvent.hpp"
#include "InputEventHandler.hpp"
namespace Input
{

View File

@@ -1,7 +1,8 @@
#include <vector>
#include "InputEvent.h"
#include "Detector.h"
#include <iostream>
#include "InputEvent.hpp"
int main()
{
return 0;

View File

@@ -7,9 +7,6 @@
#include "InputGPIOInterface.h"
class InputGPIOInterface
{
bool InputGPIOInterface::read_input_data(char pin)
{
// setting address to read
@@ -33,4 +30,7 @@ void InputGPIOInterface::write_input_col(char data)
write_pin(this->input_col_address, data & 0b100);
}
};
InputGPIOInterface()
{
}

View File

@@ -14,7 +14,8 @@
class InputGPIOInterface : GPIOInterface
{
public:
bool read_input_data();
InputGPIOInterface();
bool read_input_data(char pin);
private:
void write_input_row(char data);