{"action":"created","issue":{"url":"https://api.github.com/repos/libratbag/libratbag/issues/47","labels_url":"https://api.github.com/repos/libratbag/libratbag/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/libratbag/libratbag/issues/47/comments","events_url":"https://api.github.com/repos/libratbag/libratbag/issues/47/events","html_url":"https://github.com/libratbag/libratbag/pull/47","id":113045195,"number":47,"title":"hidpp10 udev resolutions","user":{"login":"bentiss","id":2705518,"avatar_url":"https://avatars.githubusercontent.com/u/2705518?v=3","gravatar_id":"","url":"https://api.github.com/users/bentiss","html_url":"https://github.com/bentiss","followers_url":"https://api.github.com/users/bentiss/followers","following_url":"https://api.github.com/users/bentiss/following{/other_user}","gists_url":"https://api.github.com/users/bentiss/gists{/gist_id}","starred_url":"https://api.github.com/users/bentiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentiss/subscriptions","organizations_url":"https://api.github.com/users/bentiss/orgs","repos_url":"https://api.github.com/users/bentiss/repos","events_url":"https://api.github.com/users/bentiss/events{/privacy}","received_events_url":"https://api.github.com/users/bentiss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-23T15:40:50Z","updated_at":"2015-10-23T17:30:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libratbag/libratbag/pulls/47","html_url":"https://github.com/libratbag/libratbag/pull/47","diff_url":"https://github.com/libratbag/libratbag/pull/47.diff","patch_url":"https://github.com/libratbag/libratbag/pull/47.patch"},"body":"This PR enable per device specific dpi mapping.\r\nI was able to test only the parsing of the udev properties, but not the actual use of the table (lack of compatible hidpp10 device currently).\r\n\r\nPlease test and report your thoughts."},"comment":{"url":"https://api.github.com/repos/libratbag/libratbag/issues/comments/150640355","html_url":"https://github.com/libratbag/libratbag/pull/47#issuecomment-150640355","issue_url":"https://api.github.com/repos/libratbag/libratbag/issues/47","id":150640355,"user":{"login":"cvuchener","id":3874173,"avatar_url":"https://avatars.githubusercontent.com/u/3874173?v=3","gravatar_id":"","url":"https://api.github.com/users/cvuchener","html_url":"https://github.com/cvuchener","followers_url":"https://api.github.com/users/cvuchener/followers","following_url":"https://api.github.com/users/cvuchener/following{/other_user}","gists_url":"https://api.github.com/users/cvuchener/gists{/gist_id}","starred_url":"https://api.github.com/users/cvuchener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvuchener/subscriptions","organizations_url":"https://api.github.com/users/cvuchener/orgs","repos_url":"https://api.github.com/users/cvuchener/repos","events_url":"https://api.github.com/users/cvuchener/events{/privacy}","received_events_url":"https://api.github.com/users/cvuchener/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T17:30:19Z","updated_at":"2015-10-23T17:30:19Z","body":">ratbag info: Device Logitech G500 might have wrong dpi settings. Please add RATBAG_HIDPP10_DPI_LIST or RATBAG_HIDPP10_DPI_LIST to the udev properties.\r\n\r\nThe error message repeats the same variable name twice.\r\n\r\n```\r\n  Profile 0\r\n    Resolutions:\r\n      0: 410x410dpi @ 1000Hz\r\n      1: 810x810dpi @ 1000Hz (default)\r\n      2: 2000x2000dpi @ 1000Hz\r\n      3: 10x10dpi @ 1000Hz\r\n      4: 10x10dpi @ 1000Hz\r\n```\r\n\r\nActual profile is 400/800/2000/disabled/disabled. Your rounding is as good as any, no problem there. But disabled modes are not read correctly."}}