}
#if wxUSE_SOUND
- m_fire.Create(_T("gun.wav"));
+ m_fire.Create(_T("buttonpress.wav"));
#endif // wxUSE_SOUND
m_minX = stick.GetXMin();
#if wxUSE_STATUSBAR
frame->CreateStatusBar();
- frame->SetStatusText(wxString::Format(wxT("Device [%s] (PID:[%i] MID:[%i]) Ready... # of joysticks:[%i]"), stick.GetProductName().c_str(), stick.GetProductId(), stick.GetManufacturerId(), stick.GetNumberJoysticks()));
+ frame->SetStatusText(wxString::Format(wxT("Device [%s] (PID:[%i] MID:[%i]) Ready... # of joysticks:[%i]"), stick.GetProductName().c_str(), stick.GetProductId(), stick.GetManufacturerId(), wxJoystick::GetNumberJoysticks()));
#endif // wxUSE_STATUSBAR
frame->CenterOnScreen();
/*
for(int i = 0; i < nButtons; ++i)
{
- buf += wxString(wxT("[")) +
+ buf += wxString(wxT("[")) +
((event.GetButtonState() & (1 << i)) ? wxT("Y") : wxT("N")) + wxString(wxT("]"));
}
*/
-
+
frame->SetStatusText(buf);
#endif // wxUSE_STATUSBAR