Skip to content

Commit

Permalink
Remove trackpoint 2:1 scaling (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
1Revenger1 authored Oct 12, 2024
1 parent 61b34d4 commit 12384ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions VoodooRMI/Functions/F03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,6 @@ void F03::initPS2()
if (error)
IOLogError("Failed to set resolution: %d", error);

error = ps2Command(NULL, PS2_CMD_SETSCALE21);
// error = ps2Command(NULL, PS2_CMD_SETSCALE11);
if (error)
IOLogError("Failed to set scale: %d", error);

// TODO: Actually set this - my trackpoint does not respond to this ~ 1Rev
UInt8 rate[1] = {100};
error = ps2Command(rate, PS2_CMD_SETRATE);
Expand Down
2 changes: 1 addition & 1 deletion VoodooRMI/Transports/SMBus/RMISMBus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ IOReturn RMISMBus::setPowerState(unsigned long whichState, IOService* whatDevice
if (whatDevice != this)
return kIOPMAckImplied;

if (whichState == 0) {
if (whichState == RMI_POWER_OFF) {
messageClient(kIOMessageRMI4Sleep, bus);
} else {
// Put trackpad in SMBus mode again
Expand Down

0 comments on commit 12384ef

Please sign in to comment.