Save as /var/lib/sixad/profiles/default
Keymapping codes refer to file below.
They should map closely to the Kodi defaults
Credit goes to newbiecrd in the OSMC forums
# ##########################
# sixad configuration file #
########################## #
# Input modes
enable_joystick 1
enable_input 1
enable_remote 0
# Key toggle - 0 or 1
# When on, L3 will enable/disable keys & R3 will do it for mouse
use_lr3 0
# LED
enable_leds 1
led_anim 1
led_n_auto 1
led_n_number 1
# Joystick
enable_buttons 1
enable_sbuttons 0 # pressure buttons
enable_axis 1
# Motion sensing
enable_accel 0 # accelerometer
enable_accon 0 # acceleration
enable_speed 0
enable_pos 0
# Rumble
enable_rumble 1
old_rumble_mode 0
# Timeout
enable_timeout 1
timeout_mins 5 # minutes
# ##########################
# Keymapping #
########################## #
# Center buttons
key_start 164 # playpause
key_select 31 # S: shutdown menu
key_ps 15 # TAB: fullscreen
# Dpad
key_up 103 # UP
key_right 106 # RIGHT
key_down 108 # DOWN
key_left 105 # LEFT
# Triggers
key_l1 104 # PAGEUP
key_r1 109 # PAGEDOWN
key_l2 17 # W/Z: aspect ratio
key_r2 24 # O: codec info
# Buttons
key_tri 46 # C: context menu
key_cir 14 # BACKSPACE
key_cro 28 # ENTER
key_squ 23 # info
#key_squ 57 # SPACE
# Left stick
axis_left_type 2 # 0 = disable, 2 = keys, 3 = mouse
axis_left_up 107 # END: end page
axis_left_right 39 # SEMICOLON/DOT: next
axis_left_down 102 # HOME: first page or home window
axis_left_left 50 # M/COMMA: previous
key_l3 39 # SEMICOLON/M: player control
# Right stick
axis_right_type 2 # 0 = disable, 2 = keys, 3 = mouse
axis_right_up 74 # volumeup
axis_right_right 33 # F: fast forward
axis_right_down 78 # volumedown
axis_right_left 19 # R: rewind
key_r3 113 # mute
axis_speed 6 # mouse speed (1-9, higher = slower)