29#include "bsim_picsim.h"
31#define BOARD_Xpress_Name "Xpress"
45 std::string
GetName(
void)
override {
return BOARD_Xpress_Name; };
46 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
52 void Draw(
void)
override;
57 void Reset(
void)
override;
59 void EvMouseButtonPress(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
61 void EvMouseButtonRelease(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
63 void EvMouseMove(
unsigned int button,
unsigned int x,
unsigned int y,
unsigned int state)
override;
65 void EvKeyPress(
unsigned int key,
unsigned int mask)
override;
67 void EvKeyRelease(
unsigned int key,
unsigned int mask)
override;
75 unsigned short GetInputId(
char* name)
override;
Definition bsim_picsim.h:34
Definition board_Xpress.h:34
std::string GetSupportedDevices(void) override
Return a list of supported microcontrollers.
Definition board_Xpress.h:55
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition board_Xpress.cc:60
std::string GetAboutInfo(void) override
Return the about information of part.
Definition board_Xpress.h:46
void RegisterRemoteControl(void) override
Register remote control variables.
Definition board_Xpress.cc:161
std::string GetName(void) override
Get board name registered in PICSimLab.
Definition board_Xpress.h:45
void ReadPreferences(char *name, char *value) override
Called whe configuration file load preferences.
Definition board_Xpress.cc:200
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition board_Xpress.cc:78
void Reset(void) override
Reset board status.
Definition board_Xpress.cc:132
void EvMouseButtonRelease(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_Xpress.cc:300
void EvKeyPress(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_Xpress.cc:215
void Run_CPU(void) override
Paralle thread called ever 100ms to run cpu code.
Definition board_Xpress.cc:444
void Draw(void) override
Called ever 100ms to draw board.
Definition board_Xpress.cc:335
void RefreshStatus(void) override
Called ever 1s to refresh status.
Definition board_Xpress.cc:175
void EvMouseButtonPress(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_Xpress.cc:233
void EvMouseMove(unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event on the board.
Definition board_Xpress.cc:280
void EvKeyRelease(unsigned int key, unsigned int mask) override
Event on the board.
Definition board_Xpress.cc:224
void WritePreferences(void) override
Called to save board preferences in configuration file.
Definition board_Xpress.cc:191