Has anybody extended the functionality of GPIO plugin?

Hi,

Current GPIO plugin has 6 predefined button functions.

Can it be extended? My idea is to control streamer fully with external buttons - like opening the settings menu and moving around there, selecting some options and applying these. Logic behind it would be separate button for dropdown menu, then 4 buttons like up, down, left, right and then select/apply/OK as separate button. And if the streamer is in play mode, then the buttons are duplicated as next, previous, play/pause for example.