| ![[ Spectaculator, ZX Spectrum Emulator ]](/i/logo2.gif) |  Home | Downloads | Support | ![[ ZX Spectrum Image ]](/i/speccy.jpg) | 

| Table of contents The zx-state file format  Block types |  | ZXSTMOUSECurrent mouse emulation state. 
// Mouse (currently AMX and Kempston)
#define ZXSTM_NONE      0
#define ZXSTM_AMX       1
#define ZXSTM_KEMPSTON  2
typedef struct _tagZXSTMOUSE
{
  ZXSTBLOCK blk;
  BYTE chType;
  BYTE chCtrlA[3];
  BYTE chCtrlB[3];
} ZXSTMOUSE, *LPZXSTMOUSE;
Membersblk The block header. The block id is ZXSTBID_MOUSE ('A', 'M', 'X', 'M'). chType The type of mouse being emulated. This can be one of:
 
 chCtrlA Z80 PIO CTRLA registers for AMX mouse chCtrlB Z80 PIO CTRLB registers for AMX mouse Revision historyAvailable since version 1.0 | 
|  | |
| Copyright © 2001 - 2011 Jonathan Needle |  Top |