void loadFromPointer(Pointer<SdlEvent> pointer) { type = pointer.ref.mdevice.type; reserved = pointer.ref.mdevice.reserved; timestamp = pointer.ref.mdevice.timestamp; which = pointer.ref.mdevice.which; }