1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-23 09:52:28 +00:00
gists/Simple script to control octoprint/gistfile1.txt
J. Fernando Sánchez f48bab94dd Move files
2021-10-30 15:23:01 +02:00

63 lines
1.1 KiB
Plaintext

begin
button = KEY_5
prog = irexec
config = /home/balkian/octo.sh home
repeat = 0
delay = 3
end
begin
button = KEY_1
prog = irexec
config = /home/balkian/octo.sh move -10 10 0
repeat = 0
delay = 3
end
begin
button = KEY_2
prog = irexec
config = /home/balkian/octo.sh move 0 10 0
repeat = 0
delay = 3
end
begin
button = KEY_3
prog = irexec
config = /home/balkian/octo.sh move 10 10 0
repeat = 0
delay = 3
end
begin
button = KEY_4
prog = irexec
config = /home/balkian/octo.sh move -10 0 0
repeat = 0
delay = 3
end
begin
button = KEY_6
prog = irexec
config = /home/balkian/octo.sh move 10 0 0
repeat = 0
delay = 3
end
begin
button = KEY_7
prog = irexec
config = /home/balkian/octo.sh move -10 -10 0
repeat = 0
delay = 3
end
begin
button = KEY_8
prog = irexec
config = /home/balkian/octo.sh move 0 -10 0
repeat = 0
delay = 3
end
begin
button = KEY_9
prog = irexec
config = /home/balkian/octo.sh move 10 -10 0
repeat = 0
delay = 3
end