first commit
This commit is contained in:
parent
1fcd27dd1e
commit
a182702708
BIN
bin/moonlight
Executable file
BIN
bin/moonlight
Executable file
Binary file not shown.
BIN
libs/libevdev.so.2.1.12
Normal file
BIN
libs/libevdev.so.2.1.12
Normal file
Binary file not shown.
BIN
libs/libgamestream.so.0
Normal file
BIN
libs/libgamestream.so.0
Normal file
Binary file not shown.
BIN
libs/libmoonlight-common.so.0
Normal file
BIN
libs/libmoonlight-common.so.0
Normal file
Binary file not shown.
BIN
libs/libmoonlight-pi.so
Normal file
BIN
libs/libmoonlight-pi.so
Normal file
Binary file not shown.
BIN
libs/libopus.so.0
Normal file
BIN
libs/libopus.so.0
Normal file
Binary file not shown.
32
mappings/default.conf
Normal file
32
mappings/default.conf
Normal file
|
@ -0,0 +1,32 @@
|
|||
abs_x = 0
|
||||
abs_y = 1
|
||||
abs_z = 2
|
||||
abs_rx = 3
|
||||
abs_ry = 4
|
||||
abs_rz = 5
|
||||
abs_deadzone = 0
|
||||
abs_dpad_y = 16
|
||||
abs_dpad_x = 17
|
||||
reverse_x = false
|
||||
reverse_y = true
|
||||
reverse_rx = false
|
||||
reverse_ry = true
|
||||
reverse_dpad_y = false
|
||||
reverse_dpad_x = false
|
||||
btn_south = 304
|
||||
btn_east = 305
|
||||
btn_north = 307
|
||||
btn_west = 308
|
||||
btn_select = 314
|
||||
btn_start = 315
|
||||
btn_mode = 316
|
||||
btn_thumbl = 317
|
||||
btn_thumbr = 318
|
||||
btn_tl = 310
|
||||
btn_tr = 311
|
||||
btn_tl2 = 312
|
||||
btn_tr2 = 313
|
||||
btn_dpad_up = 544
|
||||
btn_dpad_down = 545
|
||||
btn_dpad_left = 546
|
||||
btn_dpad_right = 547
|
32
mappings/dualshock3.conf
Normal file
32
mappings/dualshock3.conf
Normal file
|
@ -0,0 +1,32 @@
|
|||
abs_x = 0
|
||||
abs_y = 1
|
||||
abs_z = -1
|
||||
abs_rx = 2
|
||||
abs_ry = 3
|
||||
abs_rz = -1
|
||||
abs_deadzone = 0
|
||||
abs_dpad_x = -1
|
||||
abs_dpad_y = -1
|
||||
reverse_x = false
|
||||
reverse_y = false
|
||||
reverse_rx = false
|
||||
reverse_ry = false
|
||||
reverse_dpad_x = false
|
||||
reverse_dpad_y = false
|
||||
btn_west = 303
|
||||
btn_south = 302
|
||||
btn_north = 300
|
||||
btn_east = 301
|
||||
btn_select = 288
|
||||
btn_start = 291
|
||||
btn_mode = 304
|
||||
btn_thumbl = 289
|
||||
btn_thumbr = 290
|
||||
btn_tl = 298
|
||||
btn_tr = 299
|
||||
btn_tl2 = 296
|
||||
btn_tr2 = 297
|
||||
btn_dpad_up = 292
|
||||
btn_dpad_down = 294
|
||||
btn_dpad_left = 295
|
||||
btn_dpad_right = 293
|
32
mappings/dualshock4.conf
Normal file
32
mappings/dualshock4.conf
Normal file
|
@ -0,0 +1,32 @@
|
|||
abs_x = 0
|
||||
abs_y = 1
|
||||
abs_z = 3
|
||||
abs_rx = 2
|
||||
abs_ry = 5
|
||||
abs_rz = 4
|
||||
abs_deadzone = 0
|
||||
abs_dpad_x = 16
|
||||
abs_dpad_y = 17
|
||||
reverse_x = false
|
||||
reverse_y = true
|
||||
reverse_rx = false
|
||||
reverse_ry = true
|
||||
reverse_dpad_x = false
|
||||
reverse_dpad_y = false
|
||||
btn_west = 304
|
||||
btn_south = 305
|
||||
btn_north = 307
|
||||
btn_east = 306
|
||||
btn_select = 312
|
||||
btn_start = 313
|
||||
btn_mode = 316
|
||||
btn_thumbl = 314
|
||||
btn_thumbr = 315
|
||||
btn_tl = 308
|
||||
btn_tr = 309
|
||||
btn_tl2 = 310
|
||||
btn_tr2 = 311
|
||||
btn_dpad_up = -1
|
||||
btn_dpad_down = -1
|
||||
btn_dpad_left = -1
|
||||
btn_dpad_right = -1
|
31
mappings/rumblepad2.conf
Normal file
31
mappings/rumblepad2.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
abs_x = 0
|
||||
abs_y = 1
|
||||
abs_z = -1
|
||||
reverse_x = false
|
||||
reverse_y = true
|
||||
abs_rx = 2
|
||||
abs_ry = 5
|
||||
abs_rz = -1
|
||||
reverse_rx = false
|
||||
reverse_ry = true
|
||||
abs_dpad_x = 16
|
||||
abs_dpad_y = 17
|
||||
reverse_dpad_x = false
|
||||
reverse_dpad_y = false
|
||||
btn_north = 291
|
||||
btn_east = 290
|
||||
btn_south = 289
|
||||
btn_west = 288
|
||||
btn_select = 297
|
||||
btn_start = 296
|
||||
btn_mode = 0
|
||||
btn_thumbl = 298
|
||||
btn_thumbr = 299
|
||||
btn_tl = 292
|
||||
btn_tr = 293
|
||||
btn_tl2 = 294
|
||||
btn_tr2 = 295
|
||||
btn_dpad_up = -1
|
||||
btn_dpad_down = -1
|
||||
btn_dpad_left = -1
|
||||
btn_dpad_right = -1
|
32
mappings/xbox360.conf
Normal file
32
mappings/xbox360.conf
Normal file
|
@ -0,0 +1,32 @@
|
|||
abs_x = 0
|
||||
abs_y = 1
|
||||
abs_z = 10
|
||||
abs_rx = 3
|
||||
abs_ry = 4
|
||||
abs_rz = 9
|
||||
abs_deadzone = 0
|
||||
abs_dpad_x = 16
|
||||
abs_dpad_y = 17
|
||||
reverse_x = false
|
||||
reverse_y = true
|
||||
reverse_rx = false
|
||||
reverse_ry = true
|
||||
reverse_dpad_x = false
|
||||
reverse_dpad_y = false
|
||||
btn_east = 305
|
||||
btn_south = 304
|
||||
btn_north = 308
|
||||
btn_west = 307
|
||||
btn_select = 314
|
||||
btn_start = 315
|
||||
btn_mode = 316
|
||||
btn_thumbl = 317
|
||||
btn_thumbr = 318
|
||||
btn_tl = 310
|
||||
btn_tr = 311
|
||||
btn_tl2 = -1
|
||||
btn_tr2 = -1
|
||||
btn_dpad_up = -1
|
||||
btn_dpad_down = -1
|
||||
btn_dpad_left = -1
|
||||
btn_dpad_right = -1
|
13
moonlight.sh
Executable file
13
moonlight.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#! /bin/sh
|
||||
cpath=`pwd`
|
||||
export LD_LIBRARY_PATH=$cpath/libs:$LD_LIBRARY_PATH
|
||||
|
||||
if pgrep "kodi.bin" > /dev/null
|
||||
then
|
||||
systemctl stop kodi
|
||||
fi
|
||||
|
||||
modprobe snd_bcm2835
|
||||
bin/moonlight $@
|
||||
rmmod snd_bcm2835
|
||||
systemctl start kodi
|
Loading…
Reference in a new issue