{"action":"created","issue":{"url":"https://api.github.com/repos/Ryochan7/antimicro/issues/259","labels_url":"https://api.github.com/repos/Ryochan7/antimicro/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/Ryochan7/antimicro/issues/259/comments","events_url":"https://api.github.com/repos/Ryochan7/antimicro/issues/259/events","html_url":"https://github.com/Ryochan7/antimicro/issues/259","id":119382105,"number":259,"title":"Trying to switch sets when the L trigger is held down","user":{"login":"fitret","id":3718914,"avatar_url":"https://avatars.githubusercontent.com/u/3718914?v=3","gravatar_id":"","url":"https://api.github.com/users/fitret","html_url":"https://github.com/fitret","followers_url":"https://api.github.com/users/fitret/followers","following_url":"https://api.github.com/users/fitret/following{/other_user}","gists_url":"https://api.github.com/users/fitret/gists{/gist_id}","starred_url":"https://api.github.com/users/fitret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitret/subscriptions","organizations_url":"https://api.github.com/users/fitret/orgs","repos_url":"https://api.github.com/users/fitret/repos","events_url":"https://api.github.com/users/fitret/events{/privacy}","received_events_url":"https://api.github.com/users/fitret/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-29T19:42:54Z","updated_at":"2015-12-09T10:44:51Z","closed_at":"2015-12-09T10:44:51Z","body":"I am trying to set it so that holding down the L trigger switches sets, and I can't get it to work.\r\n\r\nSo far what I've determined is that antimicro is picking up the L trigger only when it goes back into the deadzone. If i hold the button down, I am unable to get any button actions to occur - I have to release the trigger before it will actually doing any of the switches. I've tried both using the Assignments as well as the actual Set Selector (including the \"while held\") option and none seem to work, and I've been playing with the Deadzone + max values while watching it.\r\n\r\nIt appears that the trigger occurs (i.e. I can see it highlight in blue, and if I switch it to a physical button, like the 1 key, that fires), but the set selection doesn't take place until it releases. I've tried implementing it multiple different ways, but no matter what I do I can't get something to happen while the trigger is between the deadzone and the max (or beyond the max) - it has to return from that first, which doesn't accomplish what I am looking for.\r\n\r\nCan't figure out if I'm doing this wrong if there's a problem with Xbox One controllers on 64-bit Windows 10 (at least, that's my config).\r\n\r\nHere's my full config file: http://pastebin.com/zBmePtTG\r\n\r\nAnd the relevant sections for my current implementation. I've tested this with buttons and it works fine, but I can't get the triggers to work. Changing back to set 1 works just fine, but changing to set 2 requires that the trigger be released, which fails the purpose of this script, which is to switch sets when the button is held. Using the predefined \"Switch to set 2 when button is held\" *also* does not work.\r\n\r\n```xml\r\n<set index=\"1\">\r\n            <trigger index=\"1\">\r\n                <deadZone>25487</deadZone>\r\n                <maxZone>32737</maxZone>\r\n                <throttle>positive</throttle>\r\n                <triggerbutton index=\"2\">\r\n                    <slots>\r\n                        <slot>\r\n                            <code>1</code>\r\n                            <mode>setchange</mode>\r\n                        </slot>\r\n                    </slots>\r\n                </triggerbutton>\r\n            </trigger>\r\n            <trigger index=\"2\">\r\n                <deadZone>6000</deadZone>\r\n                <triggerbutton index=\"2\">\r\n                    <slots>\r\n                        <slot>\r\n                            <code>1</code>\r\n                            <mode>mousebutton</mode>\r\n                        </slot>\r\n                    </slots>\r\n                </triggerbutton>\r\n            </trigger>\r\n</set>\r\n<set index=\"2\">\r\n            <trigger index=\"1\">\r\n                <deadZone>0</deadZone>\r\n                <maxZone>32737</maxZone>\r\n                <triggerbutton index=\"2\">\r\n                    <slots>\r\n                        <slot>\r\n                            <code>10</code>\r\n                            <mode>release</mode>\r\n                        </slot>\r\n                        <slot>\r\n                            <code>0</code>\r\n                            <mode>setchange</mode>\r\n                        </slot>\r\n                    </slots>\r\n                </triggerbutton>\r\n            </trigger>\r\n            <trigger index=\"2\">\r\n                <deadZone>6000</deadZone>\r\n                <triggerbutton index=\"2\">\r\n                    <slots>\r\n                        <slot>\r\n                            <code>3</code>\r\n                            <mode>mousebutton</mode>\r\n                        </slot>\r\n                    </slots>\r\n                </triggerbutton>\r\n            </trigger>\r\n</set>\r\n```"},"comment":{"url":"https://api.github.com/repos/Ryochan7/antimicro/issues/comments/163185471","html_url":"https://github.com/Ryochan7/antimicro/issues/259#issuecomment-163185471","issue_url":"https://api.github.com/repos/Ryochan7/antimicro/issues/259","id":163185471,"user":{"login":"Ryochan7","id":581968,"avatar_url":"https://avatars.githubusercontent.com/u/581968?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryochan7","html_url":"https://github.com/Ryochan7","followers_url":"https://api.github.com/users/Ryochan7/followers","following_url":"https://api.github.com/users/Ryochan7/following{/other_user}","gists_url":"https://api.github.com/users/Ryochan7/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryochan7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryochan7/subscriptions","organizations_url":"https://api.github.com/users/Ryochan7/orgs","repos_url":"https://api.github.com/users/Ryochan7/repos","events_url":"https://api.github.com/users/Ryochan7/events{/privacy}","received_events_url":"https://api.github.com/users/Ryochan7/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T10:44:51Z","updated_at":"2015-12-09T10:44:51Z","body":"There probably isn't anything wrong with your config. This problem is related to issue #254 which was regarding set switching being broken for triggers. The fix ended up being minor but I had not touched this project in a while. I don't know when I will get around to making a new version which includes the fix."}}