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