Game Controllers?
Game Controllers?
Hello,
Can game controllers be accessed in scripting?
Can game controllers be accessed in scripting?
Re: Game Controllers?
No. Only Arduino, Raspberry Pi and ESP32.
Re: Game Controllers?
Hi,
Actually, there is something in the AM 4.0 BETA that could help:
Note that this is NOT officially supported, so no support whatsoever. Also only works on Windows.
Corjan
Actually, there is something in the AM 4.0 BETA that could help:
Code: Select all
function callback(type, index, value)
print("type = " .. type .. ", index = " .. index .. ", value = " .. tostring(value))
end
joystick_add(callback)
Corjan
-
- Posts: 5339
- Joined: Thu Jul 27, 2017 12:22 am
Re: Game Controllers?
I guess it's not currently enabled internally and we will evaluate this feature later, no react in Console
No worries, don't take time on it for the moment, as you already stated @Corjan
Gilles
No worries, don't take time on it for the moment, as you already stated @Corjan
Gilles
Re: Game Controllers?
If it’s not supported and not in the API is probably best we don’t know about it because now questions will come
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
-
- Posts: 5339
- Joined: Thu Jul 27, 2017 12:22 am
Re: Game Controllers?
I didn’t mean from you Gilles but myself actually. I’m intrigued now about this and obviously want to know more.SimPassion wrote: ↑Tue Aug 25, 2020 9:28 amThis is why I made the check for anyone to know and specified the unavailability, so no need for any additional question
Gilles
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Game Controllers?
Hi,
Well, it was just a hack I made since I wanted to make a game in AM .
It simply gets the first joystick it can find, and throws all it's events (buttons, axis) in the lua callback.
Corjan
Well, it was just a hack I made since I wanted to make a game in AM .
It simply gets the first joystick it can find, and throws all it's events (buttons, axis) in the lua callback.
Corjan
Re: Game Controllers?
Thanks !
I will become a customer if it's ever released.
I will become a customer if it's ever released.
Re: Game Controllers?
There are no plans to release it,
Corjan
Corjan