22 lines
392 B
C++
22 lines
392 B
C++
//
|
|
// Created by camer on 22/05/2020.
|
|
//
|
|
|
|
#ifndef PROJET_VICTORAVECUNK_KEYBOARD_H
|
|
#define PROJET_VICTORAVECUNK_KEYBOARD_H
|
|
|
|
#include "../../core_simulation.h"
|
|
#include <unistd.h>
|
|
|
|
class Keyboard : public Device{
|
|
protected:
|
|
char buf[I2C_BUFFER_SIZE];
|
|
public:
|
|
static bool saisie;
|
|
Keyboard();
|
|
virtual void run();
|
|
//void saisie();
|
|
};
|
|
|
|
|
|
#endif //PROJET_VICTORAVECUNK_KEYBOARD_H
|