- fix analog_t required for some games

- changing mapping to better fit to games (for example, select is rarely used)

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
This commit is contained in:
Nicolas Adenis-Lamarre 2023-02-04 10:38:52 +01:00 committed by Megamouse
parent 37b46df738
commit 0023716053
3 changed files with 17 additions and 9 deletions

View file

@ -26,7 +26,10 @@ const std::map<gun_button, int> button_map
{gun_button::btn_2, BTN_2},
{gun_button::btn_3, BTN_3},
{gun_button::btn_4, BTN_4},
{gun_button::btn_5, BTN_5}
{gun_button::btn_5, BTN_5},
{gun_button::btn_6, BTN_6},
{gun_button::btn_7, BTN_7},
{gun_button::btn_8, BTN_8}
};
struct event_udev_entry