MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / button_down

Function button_down

pdflinux.js:182–187  ·  view source on GitHub ↗
(key_str)

Source from the content-addressed store, hash-verified

180}
181
182function 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
189function button_up(key_str) {
190 print_msg("up: " + key_str);

Callers 1

button_toggleFunction · 0.85

Calls 2

print_msgFunction · 0.85
key_downFunction · 0.85

Tested by

no test coverage detected