{"action":"closed","issue":{"url":"https://api.github.com/repos/gcwnow/buildroot/issues/12","labels_url":"https://api.github.com/repos/gcwnow/buildroot/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/gcwnow/buildroot/issues/12/comments","events_url":"https://api.github.com/repos/gcwnow/buildroot/issues/12/events","html_url":"https://github.com/gcwnow/buildroot/issues/12","id":51871504,"number":12,"title":"Enabling linkdev's 'alternate key mapping' input method causes SDL 2.0 to issue unrecognized keypress messages","user":{"login":"senquack","id":3537531,"avatar_url":"https://avatars.githubusercontent.com/u/3537531?v=3","gravatar_id":"","url":"https://api.github.com/users/senquack","html_url":"https://github.com/senquack","followers_url":"https://api.github.com/users/senquack/followers","following_url":"https://api.github.com/users/senquack/following{/other_user}","gists_url":"https://api.github.com/users/senquack/gists{/gist_id}","starred_url":"https://api.github.com/users/senquack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senquack/subscriptions","organizations_url":"https://api.github.com/users/senquack/orgs","repos_url":"https://api.github.com/users/senquack/repos","events_url":"https://api.github.com/users/senquack/events{/privacy}","received_events_url":"https://api.github.com/users/senquack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-13T01:27:55Z","updated_at":"2015-01-25T07:14:31Z","closed_at":"2015-01-25T07:14:31Z","body":"This behavior does not occur with the public 8-20-2014 firmware, only with newer unreleased beta firmware dated 2014-11-23. SDL 1.2 behaves the same as the old firmware. SDL 2.0 does not, however:\r\n\r\nFrom the command line, use opkrun to run Nebuleon's SDL2.0 version of his input tester: 'opkrun  -m jstester-2.gcw0.desktop input-test.opk'      Alternatively, run a SDL2.0 app directly from the command line after issuing following command: echo Y > /sys/devices/platform/linkdev/alt_key_map\r\n\r\nAny button presses, excluding the DPAD, will cause the following message to show on stdout:\r\n'INFO: The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <sdl@libsdl.org> EVDEV KeyCode 3XX' Where 3XX corresponds to each unique button press.\r\n\r\nDespite these messages, the alternate key-to-joy-event mapping is indeed functioning.  If you disable the key-to-joy-event mapping, SDL does not report these errors and receives SDL_KEYUP/SDL_KEYDOWN events from the buttons, as normal, with no complaints of unrecognized evdev keycodes."}}