If you broke the Onyx settings (pm disable com.onyx) you can switch your buttons around in /data/data/com.android.systemui/gestures_config
Code:
{"displayIndicator":false,
"enable":true,
"enableBehindKeyboard":true,
"enableThreePoint":false,
"guestConfigMap":
{"gestures_bottom_left":"BACK",
"gestures_bottom_middle":"HOME",
"gestures_bottom_right":"TASK_SWITCH"},
"indicatesHeight":50,
"indicatesTransparency":50,
"indicatesWidth":50,
"preventMiscontact":false,
"slideEnable":false,
"slidingDistance":100}
(Formatted to be legible.)
I can't seem to find any gesture settings in the stock Android settings.
<rant> We used to have settings in XML and SQLite databases. When did this JSON stuff start creeping in? Don't get me started on Onyx using MMKV for settings.