nhs-t10 / Robotics_2021_2022

2 stars 0 forks source link

Support touchpad inputs!!!! #16

Closed chlohal closed 2 years ago

chlohal commented 2 years ago

Right now, we only have one touchpad input: whether or not it's being pressed. We can use much more than that-- it's a full touchpad on the new controllers. We need to add the touchpad booleans and floats to the relevant places:

  public boolean touchpad_finger_1;
  public boolean touchpad_finger_2;
  public float touchpad_finger_1_x;
  public float touchpad_finger_1_y;
  public float touchpad_finger_2_x;
  public float touchpad_finger_2_y;