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