Ok, now I feel stupid...
if (kbd_is_key_pressed(conf.alt_mode_button))
{
blink_led(3);
if (conf.ricoh_ca1_mode && conf.remote_enable) conf.synch_enable=1;
key_pressed = 1;
kbd_key_release_all();
return 1;
}
Thanks, will try to see why that doesn't get triggered.