Unity 6 XR Interaction buttons

I cant seem to find any info how can I easily call button pressed or release for the Oculus Quest cotntrollers using Unity 6.

I’m stuck with, it said use the new API which is “UnityEngine.XR.Interaction.Toolkit.Inputs.Readers”. But how to use it? Can’t find a guide, though. There’s also no sample.

Solved it, after many hours of testing.

Step 1
Create base script for input
CustomControllerHandInput.cs (1.7 KB)

Step 2
Create own action binding

Step 3
Reference your own binding
image