{"action":"created","issue":{"url":"https://api.github.com/repos/ProfessorKaos64/SteamOS-Tools/issues/48","labels_url":"https://api.github.com/repos/ProfessorKaos64/SteamOS-Tools/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/ProfessorKaos64/SteamOS-Tools/issues/48/comments","events_url":"https://api.github.com/repos/ProfessorKaos64/SteamOS-Tools/issues/48/events","html_url":"https://github.com/ProfessorKaos64/SteamOS-Tools/issues/48","id":79696283,"number":48,"title":"Method to swap out xpad with xbodrv for web apps","user":{"login":"ProfessorKaos64","id":3931917,"avatar_url":"https://avatars.githubusercontent.com/u/3931917?v=3","gravatar_id":"","url":"https://api.github.com/users/ProfessorKaos64","html_url":"https://github.com/ProfessorKaos64","followers_url":"https://api.github.com/users/ProfessorKaos64/followers","following_url":"https://api.github.com/users/ProfessorKaos64/following{/other_user}","gists_url":"https://api.github.com/users/ProfessorKaos64/gists{/gist_id}","starred_url":"https://api.github.com/users/ProfessorKaos64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProfessorKaos64/subscriptions","organizations_url":"https://api.github.com/users/ProfessorKaos64/orgs","repos_url":"https://api.github.com/users/ProfessorKaos64/repos","events_url":"https://api.github.com/users/ProfessorKaos64/events{/privacy}","received_events_url":"https://api.github.com/users/ProfessorKaos64/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ProfessorKaos64/SteamOS-Tools/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-23T02:31:38Z","updated_at":"2015-05-24T09:02:11Z","closed_at":null,"body":"A command such as \r\n\r\n```\r\nsudo rmmod xpad\r\nsudo xboxdrv --mouse &\r\n```\r\nWill load a basic mouse setup for your controller to control a web app (A to click). However, if anyone has a way to swap xpad back in and terminate xboxdrv **cleanly**, please let me know, or submit a PR. Also, the commands above require exceptions for the commands be made via `visudo`, which I want to avoid.\r\n\r\nCurrent desktop skeleton file can be found [here](https://github.com/ProfessorKaos64/SteamOS-Tools/blob/master/cfgs/web-cfgs/skel/Default-Launch.sh)\r\n"},"comment":{"url":"https://api.github.com/repos/ProfessorKaos64/SteamOS-Tools/issues/comments/104995085","html_url":"https://github.com/ProfessorKaos64/SteamOS-Tools/issues/48#issuecomment-104995085","issue_url":"https://api.github.com/repos/ProfessorKaos64/SteamOS-Tools/issues/48","id":104995085,"user":{"login":"LemonTVnz","id":12453955,"avatar_url":"https://avatars.githubusercontent.com/u/12453955?v=3","gravatar_id":"","url":"https://api.github.com/users/LemonTVnz","html_url":"https://github.com/LemonTVnz","followers_url":"https://api.github.com/users/LemonTVnz/followers","following_url":"https://api.github.com/users/LemonTVnz/following{/other_user}","gists_url":"https://api.github.com/users/LemonTVnz/gists{/gist_id}","starred_url":"https://api.github.com/users/LemonTVnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LemonTVnz/subscriptions","organizations_url":"https://api.github.com/users/LemonTVnz/orgs","repos_url":"https://api.github.com/users/LemonTVnz/repos","events_url":"https://api.github.com/users/LemonTVnz/events{/privacy}","received_events_url":"https://api.github.com/users/LemonTVnz/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T09:02:11Z","updated_at":"2015-05-24T09:02:11Z","body":"https://code.google.com/p/jkeys/\r\nYou can use python/pygame to read a joystick/gamepad and generate key/mouse press/clicks\r\n\r\nUpdating to start chrome in kiosk mode with site mappings might be a decent workaround"}}