there is already low level support in the STM firmware, and this has been extended up to the axoloti firmware. However, we have not exposed it i.e. to get to the hid_buttons level which objects can use.
it would be pretty trivial to add, and certainly would work for your needs (i.e. just outputting ascii or keyboard codes), but for boarder needs it gets a bit more complicated.
if your interested the file is: firmware/usbh_conf.c and the structure is defined in: firmware/STM32_USB_Host_Library/Class/HID/Inc/usbh_hid_keybd.h
at the trivial level, is just a matter of exposing the structure, and then creating an axo object to use it.
one small point, the firmware has a limitation of: AZERTY or QWERTY mappings (and the firmware has to be compiled differently for each), and a max of 6 simultaneous keys.
ah, indeed I found that changing the hid_mouse_x+= into hid_mouse_x= (and for y the same) does do the job partly for the y axis, although it only goes from 0 to 7 and the x axis goes all over the place. so.. ehm.. change the bit-inputs for the x/y axis?