Finally found a way to define a soft Fn key list in BetterTouchTool.
Define a Group ‘Fn’ and add touch buttons like these:
For each button, assign it to Apple Script like this:
tell application “System Events”
key code 120 — F2
It looks like this when collapsed: