Thanks to @Jörgen's communication, I found out the difference in the code of the long press program.
Unfortunately, my controller is being modified and I can't try it out.
The rest is the mode switching operation.
Rather than switching sequentially,
When you press the A and B buttons at the same time for more than 1 second, the mode will change to "Receiving changing mode".
It would be very convenient if you could press UP, DOWN, LEFT, and RIGHT during this time to change directly to each mode.
Even if I ask Chat GBT, they won't tell me the correct code.
It would be nice to have someone who knows.
This is mine.
0C6CFD00-08A4-43E8-BE78-F134BBFA14FD_1_105_c.jpeg
To make the remote part thinner, a tact switch is used and the XIAO is stored in a separate box.
this is another version
6304F850-BD96-40FC-8844-56EE42F1A077_1_105_c.jpeg
Buttons glow in the dark.
4E893BF1-D502-49E8-80C1-DB3F3E5C696C_1_105_c.jpeg