Directional buttons on thumbsticks/trackpads are not properly supported by the OpenXR core spec. I think they are working on a solution, but until then the best option seems to be to use axis actions and manually check the axis values. The 4.27 VR template uses this method for the teleport and snap turns.