- Online Community Forums » Programming Questions » Edit Box responds to Joystick

This thread is locked; no one can reply to it. rss feed Print
Edit Box responds to Joystick
Daniel McKinnon
Member #7,364
June 2006

I'm having an issue wherein the edit proc responds to joystick input.

I don't want that. Infact I don't want any GUI item responding to the joystick at all.

Anyone know how I could disable GUI Joystick response?

Matt Smith
Member #783
November 2000

you need access to the DIALOG_PLAYER struct, so afaics you'll have to use init_, update_ and shutdown_dialog().


int do_dialog_nj(DIALOG *dialog, int focus_obj) 
      DIALOG_PLAYER *player = init_dialog(dialog, focus_obj);

      player->joy_on = 0;

      while (update_dialog(player))

      return shutdown_dialog(player);

Go to: