(key_str)
| 180 | } |
| 181 | |
| 182 | function button_down(key_str) { |
| 183 | if (typeof key_to_input_map[key_str] === "undefined") |
| 184 | app.alert("bad key: " + key_str); |
| 185 | print_msg("down: " + key_str); |
| 186 | key_down(key_to_input_map[key_str]); |
| 187 | } |
| 188 | |
| 189 | function button_up(key_str) { |
| 190 | print_msg("up: " + key_str); |
no test coverage detected