I think I figured out the problem... It has onboard memory for one profile, whichever is selected in the UI. My default profile has a bunch of buttons mapped that do not register as key presses when booted into Linux, so input remapper doesn't pick those up when the mouse button is pressed.
My solution was to create a profile that had all of the side buttons mapped as regular keyboard keys, and activate that profile before booting into Linux.