- static SDL_FingerID motion_id = 0;
- static SDL_FingerID button_id = 0;
- int trigger_distance_percent = 1; // percent of touchpad width/height
- float trigger_distance = (float)trigger_distance_percent / 100;
+ static SDL_FingerID motion_id = -1;
+ static SDL_FingerID button_id = -1;
+ int move_trigger_distance_percent = 2; // percent of touchpad width/height
+ int drop_trigger_distance_percent = 5; // percent of touchpad width/height
+ float move_trigger_distance = (float)move_trigger_distance_percent / 100;
+ float drop_trigger_distance = (float)drop_trigger_distance_percent / 100;