1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-11-24 13:17:41 +00:00

Add BBC joysticks.

This commit is contained in:
Thomas Harte
2025-10-02 17:10:27 -04:00
parent 22554a9ba4
commit a8325b6bce
2 changed files with 63 additions and 6 deletions

View File

@@ -79,3 +79,7 @@ void uPD7002::set_interrupt(const bool value) {
interrupt_ = value;
if(delegate_) delegate_->did_change_interrupt_status(*this);
}
void uPD7002::set_input(const int channel, const float value) {
inputs_[channel] = value;
}