26#ifndef PART_PUSH_BUTTONS_AN_H
27#define PART_PUSH_BUTTONS_AN_H
29#include "../lib/part.h"
31#define PART_PUSH_BUTTONS_AN_Name "Push Buttons (Analogic)"
35 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
39 void DrawOutput(
const unsigned int index)
override;
42 std::string
GetMapFile(
void)
override {
return "Push Buttons/part.map"; };
43 void Reset(
void)
override;
44 void OnMouseButtonPress(
unsigned int inputId,
unsigned int button,
unsigned int x,
unsigned int y,
45 unsigned int state)
override;
46 void OnMouseButtonRelease(
unsigned int inputId,
unsigned int button,
unsigned int x,
unsigned int y,
47 unsigned int state)
override;
52 unsigned short GetInputId(
char* name)
override;
58 unsigned char output_pins[1];
59 unsigned char output_value_[8];
Board class.
Definition board.h:111
PART class.
Definition part.h:49