PistonDevelopers / input

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

Add Usage enum #57

Closed bvssvni closed 9 years ago

bvssvni commented 9 years ago
pub enum Usage {
    Shared,
    User(uint),
}
bvssvni commented 9 years ago

The purpose with this structure is to distinguish between events that are shared or separated in some way. If you ignore it then you are treating the separated events as if they were shared. Notice: You are not treating the shared events explicitly, but as if all events are shared, because by not distinguishing them they are implicitly shared.

bvssvni commented 9 years ago

Closing this since we got GenericEvent in the piston-event library.