Technical information
CHAPTER 3
The PC Interface Driver
Control and Status Calls 43
rsActivateKB 3
You can use the rsActivateKB control call to direct the data from the computer’s
keyboard to the PC side. All keys except the Command key are trapped; key codes are
translated and transmitted to the PC.
Parameter block
→ ioCompletion long Pointer to the completion routine
← ioResult word
→ ioRefNum word
→ csCode word Equals rsActivateKB
rsDeactivateKB 3
You can use the rsDeactivateKB control call to stop the transmission of keyboard data
to the PC and direct the keyboard data to the Mac OS.
Parameter block
→ ioCompletion long Pointer to the completion routine
← ioResult word
→ ioRefNum word
→ csCode word Equals rsDeactivateKB
rsBeginMouseTracking 3
You can use the rsBeginMouseTracking control call to cause the mouse movements
and button presses to be directed to the PC. This call also causes the driver to hide the
Macintosh cursor.
Parameter block
→ ioCompletion long Pointer to the completion routine
← ioResult word
→ ioRefNum word
→ csCode word Equals rsBeginMouseTracking