Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
YDKJ controls using web server - need help
-
perplexedape
- Posts: 4
- Joined: Fri Apr 25, 2014 9:47 pm
YDKJ controls using web server - need help
So I'm trying to setup a page on my web server that functions similar to the web app on the new You Don't Know Jack games. Only thing I am stuck on is putting a text box that outputs a payload to the emulate keyboard plugin.
-
perplexedape
- Posts: 4
- Joined: Fri Apr 25, 2014 9:47 pm
Re: YDKJ controls using web server - need help
So I figured it out
This text box
<form onsubmit="window.location = '?&' + search.value; return false;">
<input id="search" style="width:600px;" placeholder="" type="search" name="search"></input>
<input type="submit" value="Answer">
</form>
with {eg.event.payload[0]} in the emulate keyboard press works a treat
This text box
<form onsubmit="window.location = '?&' + search.value; return false;">
<input id="search" style="width:600px;" placeholder="" type="search" name="search"></input>
<input type="submit" value="Answer">
</form>
with {eg.event.payload[0]} in the emulate keyboard press works a treat
-
eatmeimadanish
- Experienced User
- Posts: 118
- Joined: Thu Oct 01, 2009 5:11 pm
Re: YDKJ controls using web server - need help
I posted a long time ago, javascript that forwards button presses to EG's web service. I also have a python web framework that sends forms and such via the requests module. Hit me up if you need any of these.