public EmulatorButtonEvent(PhoneEvent.Types.KeyEvent proto) { code = (ButtonCode)proto.Code; down = proto.Action == 0; }
int TypeOfEvent(PhoneEvent.Types.KeyEvent e) { return(6); }