Technically Linux will only make event IDs from 0-32 and then 256-1279
but this isn't an guaranteed API or anything I don't think.
Since the mapping is small and most of the time filled only from 0-32
can implement the lookup manually with std::vector, but I don't think
the performance is really a concern since it doesn't get updated
hundreds of times a second or anything.
Fixes #86
Technically Linux will only make event IDs from 0-32 and then 256-1279 but this isn't an guaranteed API or anything I don't think.
Since the mapping is small and most of the time filled only from 0-32 can implement the lookup manually with std::vector, but I don't think the performance is really a concern since it doesn't get updated hundreds of times a second or anything.