Mapping gamepad dpad buttons to axis values

Hello! I have a gamepad that represents dpad as two axes: a0 for left/right and a1 for up/down.
Is there a way to somehow specify that in a mapping? Like:

I’m asking because is it easily possible to map buttons to hat axis values, but not for regular ones, it seems.

The values on the gamepads are discrete: for each axis min value is 0, max values is 255, and the only values they can have are 0, 127, 255.

Ok, it seems to have been implemented in December for the next release: