>+ I was thinking of helper function and using const strings. >+ Don't need to panic on invalid eventdev.
>+ Also the flags could be just bitfield to save some space. >+ Something like this. Untested since I have no hardware with >+ eventdevs. Thanks Stephen, Let me revise more with your suggestions, I will try bitfields also. I have the event device 😊