• Jan Holthuis's avatar
    linux-dist: Fix missing const members in keyboard mapping · 1661c236
    Jan Holthuis authored
    On some compiler versions, this caused an error:
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_DPad_X’
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_DPad_Y’
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_DPad2_X’
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_DPad2_Y’
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_Analog_X’
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_Analog_Y’
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_Trigger_Left’
    ../../core/linux-dist/evdev_mappings.cpp:57:3: error: uninitialized
    const member ‘s_evdev_controller_mapping::Axis_Trigger_Right’
    1661c236
evdev_mappings.cpp 2.57 KB