★ FAQ ★ SBL programming related(Example → 1P = analog, 2P = mouse game)
Written like a library document, it looks like this:
typedef struct {
PerMulId id; / * Multitap ID * /
PerMulCon con; / * Number of connectors * /
} PerMulInfo; / * Multi-tap information * /
void * per_data;
PerMulInfo * mul_info;
PER_LGetPer ((PerGetPer **) & per_data, & mul_info);
mul_info [0] .id Multi-tap ID of main unit terminal 1
mul_info [0] .con Number of connectors for main unit terminal 1 mul_info [1] .id Multi-tap ID for main unit terminal 2
mul_info [1] .con Number of connectors for main unit terminal 2| Connect multi-tap | : (00 to E0) Symbol undefined |
| Not connected or directly connected | : (F0) PER_MID_NCON_ONE |
| UNKNOWN device | : (MD-PID) Symbol undefined (*) MD-PID: Mega Drive Peripheral ID |
| Unconnected or UNKNOWN device | : (00) PER_MCON_NCON_UNKNOWN |
| Direct connection | : (01) Symbol undefined |
| Number of connected multi-tap connectors | : (02 ~ 0F) Symbol undefined |
For example, in the case of a steering wheel controller
"Digital PAD data" + "Analog data"
It is a data format such as.
I'm not familiar with the data format of "NeGcon", but it seems that there is no problem if it is an extension of digital PAD as above. The release of the new peripheral will depend on the situation, but if the data format is new, it is likely that a peripheral ID will be added, so it is not possible to support it with the software currently under development.
Even for software that only supports digital devices
If the mouse is connected with software that does not support the mouse, ignore it or convert it to digital operation.
Lastly, regarding the detailed information about the keyboard, we believe that the necessary information is specified in the format as long as it is used in normal game operation.
For detailed peripheral data formats,
caution![]() | The virtual gun itself does not support multi-tap. (It does not work properly even if connected) |
|---|
If the problem still occurs after making the above changes, re-execute the PER_Linit function when the status of "Not connected" is returned.
(If "Not Connected" is returned even after repeating several times, please consider that it is really unconnected.)
Racing controllers, mission sticks and multi-controllers all have analog device IDs and the same data format, but different data sizes.
The application should use this information to determine what peripherals are currently connected.
Buttons specific to peripherals are compatible with the following data formats.
★ FAQ ★ SBL programming related