BTN: 0x20,
                Y_BTN: 0x40,
                Z_BTN: 0x100,
                SHFT_UP_L_BTN: 0x200,
                SHFT_DN_L_BTN: 0x400,
                POWERUP_L_BTN: 0x800,
                ONOFF_L_BTN: 0x1000,
                SHFT_UP_R_BTN: 0x2000,
                SHFT_DN_R_BTN: 0x4000,
                POWERUP_R_BTN: 0x10000,
                ONOFF_R_BTN: 0x20000,
            };

            function log(message) {
                const timestamp = new Date().toLocaleTimeString();
                