bugxbindkeys - Bugs: bug #61512, second KeyCode mapped to the same...

 
 

bug #61512: second KeyCode mapped to the same KeySym does not work

Submitter:  None
Submitted:  Sat 20 Nov 2021 07:11:26 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sat 20 Nov 2021 07:11:26 AM UTC, original submission:  

I used this in my system config to map different keycodes to the same keysym event:

```
xmodmap -e 'keycode 164 = XF86AudioPlay'
xmodmap -e 'keycode 152 = XF86AudioPlay'
```

xbindkeys config:
```
(xbindkey "XF86AudioPlay" "playerctl play-pause")
```

This does not get triggered when pressing the key with keycode 164, but xbindkeys -k prints the key symbol.

I think the problem is that XKeysymToKeycode in `grab_keys()` and in `event_loop()` only will return one of the keycodes that map to the keysym.

Anonymous

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 16MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by corecode
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-20 corecode Carbon-Copy- Added corecode

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code