Ultrawipf / OpenFFBoard

OpenFFBoard is a universal force feedback interface for DIY simulation devices
https://hackaday.io/project/163904-open-ffboard
MIT License
558 stars 117 forks source link

Add profile manager on conditional effects. #76

Closed manoukianv closed 2 years ago

manoukianv commented 2 years ago

Add a profile manager on the FFB conditional effects.

manoukianv commented 2 years ago

Tests done : check default profile is 0 after flash : OK check all damper/friction/inertia Q/freq are setted to default valeur : OK switch to profile custom (1) : OK check all damper/friction/inertia Q/freq are setted to default valeur : OK change all damper/friction/inertia Q/freq to differents values (31/41-51/21-16/22) : OK read all new damper values to check if (31/41-51/21-16/22) : OK save_flash : OK change_profile to default : OK check all value are default : OK change profile_id to custom : OK check all value are custom : OK reboot with profile_id = 1 saved in flash : OK check all values are custom after reboot : OK change profile id to 0 : OK check default value are setted : OK save in flash default profile : OK ---- end of test