5 controllers
[++ctrl_count
] = controller
11 sub("^\t" $
1 " *", "")
13 data
[controller
, key
] = val
17 # Using the 1st seen controller. Should we select specific instead?
18 power_status = data
[controllers
[1], "Powered"]
20 if (power_status ==
"no") {
22 } else if (power_status ==
"yes") {
25 print_error
("Unexpected bluetooth power status: " power_status
)
34 function print_error
(msg
) {
35 print(msg
) > "/dev/stderr"
This page took 0.06541 seconds and 4 git commands to generate.