User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 24 of 24

Thread: VACCiNE 2 - an improved universal gamepad and debugger engine

  1. #21
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2015
    Posts
    104
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by elvisish View Post
    @Volnaiskra Steamworks review flagged a couple of cautions about my build, if the gamepad is unplugged during gamepad and hotplugged, the controller isn't recognized. What do you recommend doing for hotplugging gamepad situations? I could have the menu show if the gamepad is unplugged (would this be tested with Joystick extension?) but polling is expensive and can't be done on every frame. I could poll every second if the menu is up and every three or four seconds during gameplay, but I'm not sure how good this would be.
    You could always give the player the option in a menu to connect a gamepad. Once they click "connect new gamepad" start polling for X amount of time or until connected. I'm sure there are many solutions, but I always prefer to control when events like that would run, and not just have processes happening all the time, even if infrequently.

  2. #22
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    710
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by CuddlyGoose View Post
    You could always give the player the option in a menu to connect a gamepad. Once they click "connect new gamepad" start polling for X amount of time or until connected. I'm sure there are many solutions, but I always prefer to control when events like that would run, and not just have processes happening all the time, even if infrequently.
    Thanks, that's actually a really good idea. Some big games break controllers when disconnected (Costume Quest comes to mind) so I'm interested in how other are dealing with this. I agree, heavy processes (polling was giving a 70ms report in the profiller) even if infrequent aren't great to have running.

  3. #23
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    710
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Vol, what method are you using for Spryke in regards to hotplugging? AFAIK VACCiNE doesn’t have a listener for unplugged controllers that were previously plugged in?

  4. #24
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    710
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Volnaiskra View Post
    edit
    Vol, what method are you using for Spryke in regards to hotplugging? AFAIK VACCiNE doesn’t have a listener for unplugged controllers that were previously plugged in?

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. VACCiNE - a universal gamepad and debugger engine
    By Volnaiskra in forum Fusion 2.5
    Replies: 67
    Last Post: 27th October 2018, 12:07 PM
  2. 8-Bit SMB Learning Project (Improved)
    By render8 in forum Fusion 2.5
    Replies: 18
    Last Post: 22nd May 2017, 04:07 AM
  3. Clickteam's VACCiNE same controls for existing extensions
    By Bobbyneal100 in forum Fusion 2.5
    Replies: 2
    Last Post: 6th April 2017, 06:25 PM
  4. Replies: 4
    Last Post: 4th April 2017, 09:19 PM
  5. [Request] Improved INI object
    By Nifflas in forum Extension Development
    Replies: 13
    Last Post: 20th September 2007, 03:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •