See https://git.flow3r.garden/flow3r/flow3r-firmware/-/blob/main/components/flow3r_bsp/flow3r_bsp_captouch.c#L125-159