mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Add exposition.
This commit is contained in:
parent
fa82fb46b9
commit
357a324e87
@ -15,6 +15,8 @@ using namespace Apple::ADB;
|
||||
Mouse::Mouse(Bus &bus) : ReactiveDevice(bus, 3) {}
|
||||
|
||||
void Mouse::perform_command(const Command &command) {
|
||||
// This was picked empirically based on experimentation with the IIgs.
|
||||
// Possible TODO: consider whether this is appropriate for other machines.
|
||||
static constexpr int16_t max_delta = 30;
|
||||
|
||||
if(command.type == Command::Type::Talk && command.reg == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user