{"action":"created","issue":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/6920","repository_url":"https://api.github.com/repos/libretro/RetroArch","labels_url":"https://api.github.com/repos/libretro/RetroArch/issues/6920/labels{/name}","comments_url":"https://api.github.com/repos/libretro/RetroArch/issues/6920/comments","events_url":"https://api.github.com/repos/libretro/RetroArch/issues/6920/events","html_url":"https://github.com/libretro/RetroArch/issues/6920","id":335490861,"node_id":"MDU6SXNzdWUzMzU0OTA4NjE=","number":6920,"title":"Proper analog trigger support","user":{"login":"Shoegzer","id":12475371,"node_id":"MDQ6VXNlcjEyNDc1Mzcx","avatar_url":"https://avatars0.githubusercontent.com/u/12475371?v=4","gravatar_id":"","url":"https://api.github.com/users/Shoegzer","html_url":"https://github.com/Shoegzer","followers_url":"https://api.github.com/users/Shoegzer/followers","following_url":"https://api.github.com/users/Shoegzer/following{/other_user}","gists_url":"https://api.github.com/users/Shoegzer/gists{/gist_id}","starred_url":"https://api.github.com/users/Shoegzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shoegzer/subscriptions","organizations_url":"https://api.github.com/users/Shoegzer/orgs","repos_url":"https://api.github.com/users/Shoegzer/repos","events_url":"https://api.github.com/users/Shoegzer/events{/privacy}","received_events_url":"https://api.github.com/users/Shoegzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-06-25T17:01:52Z","updated_at":"2018-06-28T21:03:29Z","closed_at":null,"author_association":"NONE","body":"From [this issue](https://github.com/libretro/reicast-emulator/issues/59), RA doesn't appear to support analog triggers properly, at least in linux.  Hopefully with this fixed, cores such as reicast and other future cores making use of such inputs will function as they should.\r\n\r\n@hiddenasbestos realizing you're probably the best person on the team for this, if you could find some time to look into adding such support, I can help you test whatever you'd need.  I currently have a test Intel Kaby Lake-based system with kernel 4.15 and ds4 pads, and can compile RA as needed.  Thanks very much."},"comment":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/comments/401172650","html_url":"https://github.com/libretro/RetroArch/issues/6920#issuecomment-401172650","issue_url":"https://api.github.com/repos/libretro/RetroArch/issues/6920","id":401172650,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTE3MjY1MA==","user":{"login":"hiddenasbestos","id":12615401,"node_id":"MDQ6VXNlcjEyNjE1NDAx","avatar_url":"https://avatars1.githubusercontent.com/u/12615401?v=4","gravatar_id":"","url":"https://api.github.com/users/hiddenasbestos","html_url":"https://github.com/hiddenasbestos","followers_url":"https://api.github.com/users/hiddenasbestos/followers","following_url":"https://api.github.com/users/hiddenasbestos/following{/other_user}","gists_url":"https://api.github.com/users/hiddenasbestos/gists{/gist_id}","starred_url":"https://api.github.com/users/hiddenasbestos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiddenasbestos/subscriptions","organizations_url":"https://api.github.com/users/hiddenasbestos/orgs","repos_url":"https://api.github.com/users/hiddenasbestos/repos","events_url":"https://api.github.com/users/hiddenasbestos/events{/privacy}","received_events_url":"https://api.github.com/users/hiddenasbestos/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T21:03:29Z","updated_at":"2018-06-28T21:03:29Z","author_association":"CONTRIBUTOR","body":"> The low level driver in this case sdl_joystick.c reports trigger movement as -32767 -- 0 -- 32767\r\n\r\nDo you mean:\r\n\r\nhands off -> 0\r\n left trigger full, right trigger released -> -32767\r\nright trigger full, left trigger released -> +32767\r\nboth triggers pulled -> 0\r\n\r\n360 pad works like this on Windows in DirectInput mode and it's unhelpful! Which is why you need XInput (as it reports 0->255 for both triggers independently)\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"hiddenasbestos"}}