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