Skip to content

Commit 12384ef

Browse files
authored
Remove trackpoint 2:1 scaling (#190)
1 parent 61b34d4 commit 12384ef

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

VoodooRMI/Functions/F03.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,6 @@ void F03::initPS2()
273273
if (error)
274274
IOLogError("Failed to set resolution: %d", error);
275275

276-
error = ps2Command(NULL, PS2_CMD_SETSCALE21);
277-
// error = ps2Command(NULL, PS2_CMD_SETSCALE11);
278-
if (error)
279-
IOLogError("Failed to set scale: %d", error);
280-
281276
// TODO: Actually set this - my trackpoint does not respond to this ~ 1Rev
282277
UInt8 rate[1] = {100};
283278
error = ps2Command(rate, PS2_CMD_SETRATE);

VoodooRMI/Transports/SMBus/RMISMBus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ IOReturn RMISMBus::setPowerState(unsigned long whichState, IOService* whatDevice
278278
if (whatDevice != this)
279279
return kIOPMAckImplied;
280280

281-
if (whichState == 0) {
281+
if (whichState == RMI_POWER_OFF) {
282282
messageClient(kIOMessageRMI4Sleep, bus);
283283
} else {
284284
// Put trackpad in SMBus mode again

0 commit comments

Comments
 (0)