Take direction from STICK DIRECTION, take x & y from STICK X & STICK Y, and to see if it's being pulled STICK POWER will be bigger than zero.
@griffpatch