29#include "../devices/swbounce.h"
30#include "bsim_picsim.h"
32#define BOARD_x_Name "X"
56 std::string
GetName(
void)
override {
return BOARD_x_Name; };
58 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
60 void Draw(
void)
override;
65 void Reset(
void)
override;
67 void EvMouseButtonPress(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
69 void EvMouseButtonRelease(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
71 void EvMouseMove(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
73 void EvKeyPress(
unsigned int key,
unsigned int mask)
override;
75 void EvKeyRelease(
unsigned int key,
unsigned int mask)
override;
83 unsigned short GetInputId(
char* name)
override;
Definition bsim_picsim.h:34
void RefreshStatus(void) override
Called ever 1s to refresh status.
Definition board_x.cc:183
std::string GetSupportedDevices(void) override
Return a list of supported microcontrollers.
Definition board_x.h:63
void EvMouseButtonPress(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_x.cc:263
std::string GetName(void) override
Get board name registered in PICSimLab.
Definition board_x.h:56
void WritePreferences(void) override
Called to save board preferences in configuration file.
Definition board_x.cc:199
void Draw(void) override
Called ever 100ms to draw board.
Definition board_x.cc:384
void Run_CPU(void) override
Paralle thread called ever 100ms to run cpu code.
Definition board_x.cc:517
void ReadPreferences(char *name, char *value) override
Called whe configuration file load preferences.
Definition board_x.cc:212
void Reset(void) override
Reset board status.
Definition board_x.cc:133
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition board_x.cc:61
void EvMouseMove(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_x.cc:323
void EvMouseButtonRelease(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_x.cc:346
void EvKeyPress(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_x.cc:237
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition board_x.cc:81
void RegisterRemoteControl(void) override
Register remote control variables.
Definition board_x.cc:163
void EvKeyRelease(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_x.cc:253
std::string GetAboutInfo(void) override
Return the about information of part.
Definition board_x.h:58