Debian Codegraph @

TODO.md

raw symbols SCIP
1 # TODO
2
3 Issues from source QA (2026-07). Ordered roughly by priority.
4
5 ## Critical / high
6
7 - [x] **Joystick ctor swallows open failures** (`src/joystick.cpp`)
8 - [x] **Mapping dialog hide clears the wrong widget** (`src/main.cpp`)
9 - [x] **udev USB-ID lookup leaks / incomplete cleanup**
10 - [x] **Config axis/button parsing uses `vector::insert` at index**
11 - [x] **Missing PS4 icon** (commented; generic fallback)
12
13 ## Medium
14
15 - [x] **Devices opened twice on list refresh**
16 - List enumerates and opens each `/dev/input/jsN` once for both display and activity.
17 - [x] **Reconnect assumes stable `jsN`**
18 - `reconnected()` tries the original node, then scans `js0..js31` matching name + USB id; updates `filename`/`js_id` on success.
19 - [x] **`--datadir` trailing `/`**
20 - [x] **CMake links bare `udev`**
21 - [x] **Global `m_verbose and std::cout` style**
22 - Replaced with `if (m_verbose)`.
23 - [x] **Xbox 360 mapping label**
24 - [x] **Unused `xbox360_small.png`**
25
26 ## Low / cleanup
27
28 - [x] **Dead XML API on `Joystick`**
29 - [x] **Form-feed characters**
30 - [x] **`button_widget.hpp` includes**
31 - [x] **Stale path in comment**
32 - [x] **Unused CMake `GIT_REPO_VERSION` / date**
33 - [x] **Activity highlight on analog axes** (threshold)
34 - [x] **Heavy list refresh on every udev js event**
35 - 250ms debounced `schedule_refresh()`.
36
37 ## Notes
38
39 - Joydev is legacy; README disclaimer stands. Prefer evtest / evtest-qt for modern stacks.
40 - Version source of truth remains top-level `VERSION`.
41 - Datadir: compile-time `JSTEST_GTK_DATADIR` + `--datadir` override; no multi-path guessing.