{"action":"closed","issue":{"url":"https://api.github.com/repos/tmk/tmk_keyboard/issues/397","repository_url":"https://api.github.com/repos/tmk/tmk_keyboard","labels_url":"https://api.github.com/repos/tmk/tmk_keyboard/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/tmk/tmk_keyboard/issues/397/comments","events_url":"https://api.github.com/repos/tmk/tmk_keyboard/issues/397/events","html_url":"https://github.com/tmk/tmk_keyboard/issues/397","id":184119671,"number":397,"title":"Modifier keys on higher layers are not released if the function key is released first","user":{"login":"andrewcchen","id":6744506,"avatar_url":"https://avatars3.githubusercontent.com/u/6744506?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewcchen","html_url":"https://github.com/andrewcchen","followers_url":"https://api.github.com/users/andrewcchen/followers","following_url":"https://api.github.com/users/andrewcchen/following{/other_user}","gists_url":"https://api.github.com/users/andrewcchen/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewcchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewcchen/subscriptions","organizations_url":"https://api.github.com/users/andrewcchen/orgs","repos_url":"https://api.github.com/users/andrewcchen/repos","events_url":"https://api.github.com/users/andrewcchen/events{/privacy}","received_events_url":"https://api.github.com/users/andrewcchen/received_events","type":"User","site_admin":false},"labels":[{"id":296207857,"url":"https://api.github.com/repos/tmk/tmk_keyboard/labels/KEYMAP","name":"KEYMAP","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-20T02:22:33Z","updated_at":"2017-05-30T16:36:11Z","closed_at":"2017-05-30T16:36:11Z","body":"With a function layer activated with ACTION_LAYER_MOMENTARY bound to a fn key, if  the fn key is released before the modifier key is (physically) released, the modifier key is never marked as released, and continue to be registered as pressed to the computer.\n\nThis bug does not occur if the key is a normal key (tested with left direction key).\n\nTo reproduce:\n1. Bind a layer with ACTION_LAYER_MOMENTARY to a fn key.\n2. Map a key on that layer to a modifier key (tested with RSHIFT, RCTRL, RALT, RGUI)\n3. Press (hold) fn key + modifier key\n4. Release fn key and then release modifier key\n5. Observe that the modifier key is still registered as pressed\n\nVersion: git master\n\nBoard: gh60 (rev. chn) (only difference from rev a/b is different gpio pins for matrix)\n\nConfig:\nlufa build\nBOOTMAGIC_ENABLE = yes\nCONSOLE_ENABLE = yes\nCOMMAND_ENABLE = yes\nUSB_6KRO_ENABLE = yes\nBACKLIGHT_ENABLE = yes\n"}}
{"actor":{"display_login":"tmk"}}