How can I remap my camera button to switch back and forth between two apps?
I still don't know how to make this work, but I ended up using the app Full Screen Gestures instead. It lets you configure actions for when you swipe inwards from the screen edges, and I simply configured it to start my desired apps on swipe, allowing me to effortlessly switch between them.