- state_fio->FputUint32(STATE_VERSION);
- state_fio->FputInt32(this_device_id);
-
- state_fio->FputInt32(ctrlreg);
- state_fio->FputInt32(freq);
- state_fio->FputInt32(cur_freq);
- state_fio->FputInt32(dx);
- state_fio->FputInt32(dy);
- state_fio->FputInt32(lx);
- state_fio->FputInt32(ly);
- state_fio->FputInt32(register_id);
-}
-
-bool MOUSE::load_state(FILEIO* state_fio)
-{
- if(state_fio->FgetUint32() != STATE_VERSION) {