{"action":"created","issue":{"url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt/issues/52","repository_url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt","labels_url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt/issues/52/comments","events_url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt/issues/52/events","html_url":"https://github.com/FrOSt-Foundation/FrOSt/issues/52","id":148714681,"number":52,"title":"Redo device management","user":{"login":"azertyfun","id":1971608,"avatar_url":"https://avatars.githubusercontent.com/u/1971608?v=3","gravatar_id":"","url":"https://api.github.com/users/azertyfun","html_url":"https://github.com/azertyfun","followers_url":"https://api.github.com/users/azertyfun/followers","following_url":"https://api.github.com/users/azertyfun/following{/other_user}","gists_url":"https://api.github.com/users/azertyfun/gists{/gist_id}","starred_url":"https://api.github.com/users/azertyfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azertyfun/subscriptions","organizations_url":"https://api.github.com/users/azertyfun/orgs","repos_url":"https://api.github.com/users/azertyfun/repos","events_url":"https://api.github.com/users/azertyfun/events{/privacy}","received_events_url":"https://api.github.com/users/azertyfun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt/labels/Rewrite","name":"Rewrite","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T17:02:34Z","updated_at":"2016-04-16T13:44:17Z","closed_at":null,"body":"Current state is : Support of multiple devices is pretty much non existent."},"comment":{"url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt/issues/comments/210818382","html_url":"https://github.com/FrOSt-Foundation/FrOSt/issues/52#issuecomment-210818382","issue_url":"https://api.github.com/repos/FrOSt-Foundation/FrOSt/issues/52","id":210818382,"user":{"login":"azertyfun","id":1971608,"avatar_url":"https://avatars.githubusercontent.com/u/1971608?v=3","gravatar_id":"","url":"https://api.github.com/users/azertyfun","html_url":"https://github.com/azertyfun","followers_url":"https://api.github.com/users/azertyfun/followers","following_url":"https://api.github.com/users/azertyfun/following{/other_user}","gists_url":"https://api.github.com/users/azertyfun/gists{/gist_id}","starred_url":"https://api.github.com/users/azertyfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azertyfun/subscriptions","organizations_url":"https://api.github.com/users/azertyfun/orgs","repos_url":"https://api.github.com/users/azertyfun/repos","events_url":"https://api.github.com/users/azertyfun/events{/privacy}","received_events_url":"https://api.github.com/users/azertyfun/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T13:44:17Z","updated_at":"2016-04-16T13:44:17Z","body":"OK I tried to better things, but it is a complete mess and compilcated the driver writing very much, so here is a proposal for how things would work : \r\n\r\nUserland has NO access to drivers/devices. Apps would communicate with devices through a device manager. From the user perspective, the code would look like this :\r\n```dasm\r\nset PUSH, DEVICE_GENERICSCREEN\r\nset PUSH, PRINTF\r\nset PUSH, str_hello\r\nset PUSH 0 ; With support for multiple devices at a time, each device has a number, so if you have three keyboards, you can access them with 0, 1, 2. 0xFFFF would be for \"All of them\"\r\nint INT_DEVICE\r\n```\r\n\r\nAny suggestions ?"}}