mega_mozg_13, With some more playing around I got the encoders to work as virtual axes.
I was toying with the idea of adding a toggle switch to shift them from behaving as axes and buttons.
It only sort of works. The buttons only work if the toggle is flipped and shift 1 is on, but the virtual axis work either way. Is there a possibility of adding an optional shift state to the virtual axis as well?