Lines Matching refs:osInfo
796 static OSMouseInfoPtr osInfo = NULL;
804 if (osInfo)
807 osInfo = OSMouseInit(0);
808 if (!osInfo)
810 if (!osInfo->SupportedInterfaces)
813 classes = osInfo->SupportedInterfaces();
824 if (!osInfo->CheckProtocol ||
825 !osInfo->CheckProtocol(mouseProtocols[i].name))
843 if (!osInfo->FindDevice)
847 device = osInfo->FindDevice(pInfo, protocol, 0);
867 if (osInfo->SetupAuto && (osProt = osInfo->SetupAuto(pInfo,NULL))) {
876 if (osInfo->PreInit)
877 osInfo->PreInit(pInfo, protocol, 0);
882 if (osInfo->CheckProtocol
883 && osInfo->CheckProtocol(protocol)) {
886 if (osInfo->PreInit) {
887 osInfo->PreInit(pInfo, protocol, 0);
990 } else if (osInfo->DefaultProtocol) {
991 protocol = osInfo->DefaultProtocol();
2889 if (osInfo->SetBMRes)
2890 osInfo->SetBMRes(pInfo, pMse->protocol, pMse->sampleRate,
2949 if (osInfo->SetMiscRes)
2950 osInfo->SetMiscRes(pInfo, pMse->protocol, pMse->sampleRate,
2982 if (osInfo->SetPS2Res) {
2983 osInfo->SetPS2Res(pInfo, pMse->protocol, pMse->sampleRate,
3242 if (osInfo->SetupAuto) {
3243 name = osInfo->SetupAuto(pInfo, protoPara);
3249 if (osInfo->CheckProtocol && osInfo->CheckProtocol(name)) {
3275 if (!name && osInfo->GuessProtocol) {
3276 name = osInfo->GuessProtocol(pInfo, 0);