ed1e228d107f8ad9b01ee9e445ba9ee5c17d3295
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.037324 seconds and 3 git commands to generate.