1 viewer
rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off
cre8-platform-input crates cargo crate
0workspace deps
3direct dependents
12transitive dependents
0calls out
10calls in
34.7call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 32 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| push_axis_eventsrc/lib.rs:364 | fn | 3 | 1 | 2 | 0 | 2.3 | |
| read_axis_calsrc/lib.rs:151 | fn | 14 | 3 | 1 | 2 | 2.2 | |
| AxisCal::defaultsrc/lib.rs:97 | trait impl | 3 | 1 | 2 | 0 | 2 | |
| Gamepad::opensrc/lib.rs:230 | method | 22 | 2 | 1 | 1 | 2 | |
| Gamepad::translatesrc/lib.rs:293 | method | 7 | 3 | 1 | 2 | 1.8 | |
| Gamepad::open_autosrc/lib.rs:217 | method | 12 | 6 | 7 | 1 | 1.7 | |
| AxisCal::normalizesrc/lib.rs:103 | method | 10 | 4 | 2 | 0 | 1.6 | |
| key_to_buttonsrc/lib.rs:186 | fn | 6 | 1 | 1 | 0 | 1.6 | |
| Gamepad::pollsrc/lib.rs:278 | method | 14 | 2 | 3 | 1 | 1.5 | |
| eviocgabssrc/lib.rs:128 | fn | 6 | 1 | 1 | 0 | 1.4 | |
| Gamepad::emit_axis_edgesrc/lib.rs:337 | method | 12 | 1 | 1 | 2 | 1.4 | |
| Gamepad::translate_abssrc/lib.rs:301 | method | 6 | 2 | 1 | 2 | 1.3 | |
| emit_key_edgesrc/lib.rs:351 | fn | 12 | 2 | 1 | 1 | 1.3 | |
| emit_axis_release_edgessrc/lib.rs:368 | fn | 15 | 5 | 1 | 1 | 1.1 | |
| emit_axis_press_edgessrc/lib.rs:384 | fn | 15 | 5 | 1 | 1 | 1.1 | |
| Gamepad::update_hat_axissrc/lib.rs:308 | method | 15 | 3 | 1 | 1 | 1 | |
| Gamepad::update_stick_axissrc/lib.rs:324 | method | 9 | 5 | 1 | 1 | 1 | |
| dump_eventssrc/lib.rs:445 | fn | 19 | 4 | 1 | 3 | 0.9 | |
| Gamepad::stickssrc/lib.rs:259 | method | 3 | 1 | 2 | 0 | 0.8 | |
| Gamepad::namesrc/lib.rs:253 | method | 3 | 1 | 1 | 0 | 0.8 | |
| test_axis_calsrc/lib.rs:139 | fn | 11 | 2 | 1 | 1 | 0.7 | |
| Gamepad::axis_cal_debugsrc/lib.rs:267 | method | 8 | 1 | 0 | 0 | 0.5 | |
| Gamepad::dropsrc/lib.rs:401 | trait impl | 6 | 1 | 0 | 0 | 0.5 | |
| Gamepad::open_autosrc/lib.rs:420 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Gamepad::opensrc/lib.rs:423 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Gamepad::namesrc/lib.rs:426 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Gamepad::pollsrc/lib.rs:429 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Gamepad::stickssrc/lib.rs:432 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Gamepad::axis_cal_debugsrc/lib.rs:435 | method | 3 | 1 | 0 | 0 | 0.5 | |
| key_codes_map_to_expected_buttonssrc/lib.rs:470 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| non_linux_open_errorssrc/lib.rs:479 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| axis_calibration_normalizes_within_reported_rangesrc/lib.rs:489 | fn | 20 | 1 | 0 | 2 | 0.5 |
Outside the workspace
anyhow libc