Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Wireless controllers in AGK

Author
Message
Nieb
9
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 5th Apr 2019 16:14 Edited at: 5th Apr 2019 22:14
If a wireless controller is powered OFF before AppGameKit starts, then powered ON while AppGameKit is running, it won't work.
If a wireless controller is working while AppGameKit is running, then is powered OFF then back ON, it won't work.

I've noticed games made with GameMaker don't have this issue, so it appears to be possible to work around this. Can we make it so AppGameKit can handle wireless controllers turning ON & OFF?
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 5th Apr 2019 20:32 Edited at: 5th Apr 2019 20:33
pretty sure you need to do this
CompleteRawJoystickDetection()
occasionally to solve that as once you start AppGameKit it no longer checks for controllers etc automatically (other than once at starting the test / exe i mean)
life's one big game
spec= i5 4ghz, 16gb ram, Nvidia 1070ti gpu
Nieb
9
Years of Service
User Offline
Joined: 13th May 2014
Location: Lurking
Posted: 5th Apr 2019 22:11 Edited at: 5th Apr 2019 22:14
Doesn't work.
From what I understand, all CompleteRawJoystickDetection() does is wait for the detection to complete upon starting an AppGameKit app.

Login to post a reply

Server time is: 2024-04-25 11:36:47
Your offset time is: 2024-04-25 11:36:47