jahnf / Projecteur

Linux Desktop Application for the Logitech Spotlight device (and similar devices) - Digital Laser Pointer
MIT License
374 stars 33 forks source link

Feature: User-friendly name in Input Mapper #162

Closed mayanksuman closed 2 years ago

mayanksuman commented 2 years ago

The Input sequence is now drawn with meaningful text. The screenshot of input mapper button mapping is also updated in this commit.

Screenshot: name of Input Sequence. screenshot-button-mapping

mayanksuman commented 2 years ago

Hi @jahnf ,

The changes for this feature is over. You can now review this commit.

jahnf commented 2 years ago

Hi @mayanksuman , good idea. The only thing I want to change is that the name replacement for 'next' and 'back' button should be Logitech Spotlight specific. Other devices might send a BTN_RIGHT event but the button on the device is not called 'next'.

mayanksuman commented 2 years ago

Hi @jahnf ,

Can we rename Next and Back to Right and Left, respectively. This way it will be universal. However, we may need to mention in docs that Right and Left mean Next and Back respectively for Logitech Spotlight device.

jahnf commented 2 years ago

Hi @jahnf ,

Can we rename Next and Back to Right and Left, respectively. This way it will be universal. However, we may need to mention in docs that Right and Left mean Next and Back respectively for Logitech Spotlight device.

Actually I meant it the other way around: [Next] and [Back] is good for the specified button combinations, but only for the Logitech spotlight - so the only thing I will add is a lookup table for user friendly button names that is device specific - if no user friendly name is found the button code is used as it was before.