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
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

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

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

     

     

     

    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.9