This one looks a bit ugly, but possible. Right now you could use CBR_KEYPRESS_RAW, which will give access to the raw GUI event (with camera-specific button codes). There you can use IS_FAKE, and you can get the portable keypress with module_translate_key.
Source: handle_module_keys from module.c.