Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ading2210/linuxpdf
/ press_input
Function
press_input
pdflinux.js:177–180 ·
view source on GitHub ↗
(key_code)
Source
from the content-addressed store, hash-verified
175
}
176
177
function
press_input(key_code) {
178
key_down(key_code);
179
key_up(key_code);
180
}
181
182
function
button_down(key_str) {
183
if
(typeof key_to_input_map[key_str] ===
"undefined"
)
Callers
1
key_pressed
Function · 0.85
Calls
2
key_down
Function · 0.85
key_up
Function · 0.85
Tested by
no test coverage detected