X-Camera uses the concept of View IDs to mark a camera as a favorite and to make it available to X-Plane’s key/joystick button to command mapping capability. A camera can be assigned a view ID number between 1 and 25 essentially giving you 25 favorite cameras. When in the X-Camera control panel simply assign a number between 1 and 25 and put it in the View ID field on the camera.
Once you have assigned unique numbers to each of your favorite cameras you can then go into X-Plane’s keyboard and/or joystick settings and map your keys or buttons to the X-Camera commands “SRS/X-Camera/Select_View_ID_1” through “SRS/X-Camera/Select_View_ID_25”.
Please have a look at the first tutorial video to see how it is done