web_remote_control
Differences
This shows you the differences between two versions of the page.
— | web_remote_control [2023/02/19 15:32] (current) – created pinupadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Web Remote Control ====== | ||
+ | |||
+ | ===== How to Setup ===== | ||
+ | |||
+ | See latest video: [[https:// | ||
+ | |||
+ | this is a WIP project. To get the files needed to test this use the following: | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | unblock and unzip contents of zip into root of pinupsystem. | ||
+ | |||
+ | {{: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | useWEB=true; | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | < | ||
+ | localhost | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | and see if that works, if it does, then your remote control is all up and ready. Have Fun! | ||
+ | < | ||
+ | |||
+ | //** <font 12.0pt/ | ||
+ | < | ||
+ | |||
+ | then try browser with localhost. | ||
+ | |||
+ | also check firewall to see if you fine PUPServer blocked or anthing like that. | ||
+ | |||
+ | ===== Another different type of project using web-remote!!! ===== | ||
+ | |||
+ | See project here: [[https:// | ||
+ | |||
+ | ===== Have a Tablet or TV/Device with a browser built in? ===== | ||
+ | |||
+ | There' | ||
+ | |||
+ | Once you have confirmed web-remote is working from above. Then you can try this from any browser. | ||
+ | < | ||
+ | |||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | note: you set the pupid to which pup screen you want to display/ | ||
+ | |||
+ | check if your wwwRoot folder has the puploop.html if not then grab the updated zip at top of this page. | ||
+ | |||
+ | ===== How to Use ===== | ||
+ | |||
+ | ===== Programmers Reference ===== | ||
+ | |||
+ | \PinUPSystem\wwwRoot the root home directory. | ||
+ | |||
+ | index.html is the default landing page. | ||
+ | |||
+ | note: this is a bare-bone-slim-down-totally basic www server… don't try anything fancy with it as it just won't work. NEVER use on a public internet facing computer. | ||
+ | |||
+ | Here are list of current URL (mimic rest). | ||
+ | |||
+ | PinUP Popper menu must be running in order for the Remote control to work… | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | use this to get a json of all the info you can get of the currently selected item. fields should be self-explanatory. | ||
+ | |||
+ | sending emulated pupEvents to Popper | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | where xxx is a number of the putEvent ID. See list for all pupEvents IDs on bottom of this page. | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | where xx is the PUPDisplay# to record. 0-top, 1-dmd, 2-BG, 3=playfiled. | ||
+ | |||
+ | it is toggle to start… same event to stop. | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | xxx is the Popper GameID # to launch. it is launched in NON-record mode. | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | xxx is the Popper GameID # to launch. it is launched in recording mode. | ||
+ | |||
+ | < | ||
+ | http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | XXX is the # of the PuPDisplay will return a png or mp4 of the PUPDIsplay # 0=top, | ||
+ | |||
+ | v1.4 pupkey events | ||
+ | |||
+ | < | ||
+ | //functions for menu | ||
+ | fGamePrior | ||
+ | fGameNext | ||
+ | fListNext | ||
+ | fListPrior | ||
+ | fPageNext | ||
+ | fPagePrior | ||
+ | fGameStart | ||
+ | fGameMenu | ||
+ | fHomeMenu | ||
+ | fGameInfo | ||
+ | fSystemExit | ||
+ | fShutdown | ||
+ | fMenuReturn | ||
+ | fSelect | ||
+ | fEmuExit | ||
+ | fSystemMenu | ||
+ | fStartRecord | ||
+ | fShowOther2 | ||
+ | fInstruct | ||
+ | fPlayOnlyMode = 22; | ||
+ | fPauseGame | ||
+ | fInGameBatch = 24; | ||
+ | |||
+ | fFavAdd | ||
+ | fFavDel | ||
+ | fFavAddSystem = 52; | ||
+ | fFavDelSystem = 53; | ||
+ | fPassCode | ||
+ | fSystemRestart =56; | ||
+ | fSetRecord | ||
+ | fShutDownInstant =58; | ||
+ | fRestartInstant =59; | ||
+ | |||
+ | </ | ||
+ | |||