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 / Agk and arduino wireless joystick

Author
Message
Hubert BAYRE
1
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 22nd Dec 2018 06:25
i'm searching a way to make my own wireless command for my agk project. (just 4 big buttons).
Do you think that it's possible with Arduino ? Wireless ?
(i'm a newbie with Arduino)
Many thanks for your ideas !

Attachments

Login to view attachments
Hubert BAYRE
1
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 22nd Dec 2018 06:27 Edited at: 22nd Dec 2018 07:11
sorry, see this picture !

so the Arduino system could be recognized as a wireless keyboard ? This is my idea :

a pc bluetooth dongle, arduino connected with an HC-05 wireless and some buttons.

Attachments

Login to view attachments
PHeMoX
1
Years of Service
User Offline
Joined: 9th Jan 2018
Location:
Posted: 22nd Dec 2018 14:31 Edited at: 22nd Dec 2018 14:32
I'm not sure. AGK2 has an automatic controller / joystick detection I think, but so far I haven't got my Steam Controller working, so haven't really dug into using joysticks. Sounds like an interesting project though! Let us know how it goes!
janbo
10
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 22nd Dec 2018 14:47
Yeah would be interesting if AGK's recognizes Arduino Leonardo keyboard inputs.
The other method would be to use an esp8266 and communicate via http commands then you have a nice wireless controller.
For the wireless method you would need the esp to host a website or maybe it's possible to use sockets directly !?
I played with all those things but never in conjunction with AppGameKit, but I'm sure its possible somehow.
Hubert BAYRE
1
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 22nd Dec 2018 16:33 Edited at: 22nd Dec 2018 16:35
My idea is : the arduino recognized as a wireless keyboard (or a joystick). i've just received the arduino R3. So now i need to know how it works. If someone here have experimented some code with arduino...;
In the case of i can simulate a keyboard, this could be easy with the agk application. I've already mapped the keys a,b,c,d to the classic keyboard.
i've buy a usb bluetooth dongle and an bluetooth card extension for the arduino.
i'm not sure to use http as the pc isn't connected to the web or wifi network. Just bluetooth.

Perhaps it should be more easy to simulate arduino as a joystick (just to catch 4 buttons).
Hubert BAYRE
1
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 23rd Dec 2018 12:43
Thanks Jambo for the idea i've also buy an arduino leonardo. it seems easier to program it for keyboard emulation. Crossed fingers to test it with agk.
Hubert BAYRE
1
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 29th Dec 2018 12:17
This is not yet wireless but it works !

Attachments

Login to view attachments
Hubert BAYRE
1
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 11th Jan 2019 21:40
Works fine with agk.

Attachments

Login to view attachments
Hubert BAYRE
1
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 13th Jan 2019 17:49
Interesting when an 105 years old person use this pad with my agk project to play a pacman like or quizz serious game.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2019-06-18 00:49:28
Your offset time is: 2019-06-18 00:49:28