input/types.go
func (t *DispatchMouseEventPointerType) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch DispatchMouseEventPointerType(in.String()) {
	case Mouse:
		*t = Mouse
	case Pen:
		*t = Pen

	default:
		in.AddError(errors.New("unknown DispatchMouseEventPointerType value"))
	}
}
func (t *DispatchMouseEventPointerType) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch DispatchMouseEventPointerType(in.String()) {
	case Mouse:
		*t = Mouse
	case Pen:
		*t = Pen

	default:
		in.AddError(errors.New("unknown DispatchMouseEventPointerType value"))
	}
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.