PistonDevelopers / input

DEPRECATED - moved into the piston repo
MIT License
7 stars 11 forks source link

Implement `ToPrimitive` and `FromPrimitive` for `MouseButton` #92

Closed bvssvni closed 9 years ago

bvssvni commented 9 years ago

This is needed to convert back and forth between numbers representing the mouse button.

toqueteos commented 9 years ago

You could also had derived ToPrimitive and FromPrimitive.

bvssvni commented 9 years ago

@toqueteos Good idea.