{"action":"created","issue":{"url":"https://api.github.com/repos/libratbag/libratbag/issues/15","labels_url":"https://api.github.com/repos/libratbag/libratbag/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/libratbag/libratbag/issues/15/comments","events_url":"https://api.github.com/repos/libratbag/libratbag/issues/15/events","html_url":"https://github.com/libratbag/libratbag/issues/15","id":106840520,"number":15,"title":"[hidpp10] Profile switching and pages","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-16T19:06:09Z","updated_at":"2015-09-17T14:22:22Z","closed_at":null,"body":"There are several points of which I am unsure about profiles. I think there is need for a discussion on this.\r\n\r\nIn the code, I have seen you use three profiles for the G500s. But I have only seen LGS use two: the temporary one in page 0 and a permanent one in the memory (page 2 for my G500 and I think my G500s use this one too). Actually you can write as many profiles as you can fit in memory, but they can only be switched from the driver, so it is not really useful.\r\n\r\nThe CMD_PROFILE command (0x0F), is one of the command I have documented that I least understand. It did not always behave like I intended in ways I did not manage to reproduce. I must be missing something.\r\nBut I know never found a way to get from where in the memory the current profile. I don't know how hidpp10_get_current_profile could be implemented.\r\n\r\nAbout the page for the default permanent profile: I mainly tested the commands on my G500 and I quite sure it is on page 2, but I am less certain about the G500s, I will redo some tests. Or maybe there is something else that determine the location of the default profile.\r\n"},"comment":{"url":"https://api.github.com/repos/libratbag/libratbag/issues/comments/141102276","html_url":"https://github.com/libratbag/libratbag/issues/15#issuecomment-141102276","issue_url":"https://api.github.com/repos/libratbag/libratbag/issues/15","id":141102276,"user":{"login":"whot","id":1487352,"avatar_url":"https://avatars.githubusercontent.com/u/1487352?v=3","gravatar_id":"","url":"https://api.github.com/users/whot","html_url":"https://github.com/whot","followers_url":"https://api.github.com/users/whot/followers","following_url":"https://api.github.com/users/whot/following{/other_user}","gists_url":"https://api.github.com/users/whot/gists{/gist_id}","starred_url":"https://api.github.com/users/whot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whot/subscriptions","organizations_url":"https://api.github.com/users/whot/orgs","repos_url":"https://api.github.com/users/whot/repos","events_url":"https://api.github.com/users/whot/events{/privacy}","received_events_url":"https://api.github.com/users/whot/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T14:22:22Z","updated_at":"2015-09-17T14:22:22Z","body":"I don't have access to the G500s at the moment, it's the only device I didn't bring with me to XDC :) so sorry, I can't test this atm but since I'll be offline for 3 weeks after this I'm happy to merge a fix that works on the G500 and then fix it after if it breaks the G500s.\r\n\r\nAs for the command: I don't have any better information, your document is the reference here."}}