XBox Controller Button Pressure?

Hi guys, just need to find this out quickly as I cannot find any information whatsoever on this subject.

Is it possible for me to determine how hard a player presses the “Y” button for example. To expand on this point, say I had a racing game and when I pressed the “Y” button, the car accelerated. Dependent on how hard I pressed the button determines how fast the car accelerates.

Is it possible to do this? I have used something similar for analogue controllers in the past but cannot find any documentation on other input methods. Any guidance/help is much appreciated.

The Y, X, A, B and Bumper Buttons are digital so you won’t be able to detect how hard they’re pressed. You can get analog input for the sticks and the triggers (RT & LT) though.