ButtonType and InputDevice enum are byte type