ActivityWatch / ActivityWatch/activitywatch

ActivityWatch marks Steam games as AFK when using a controller

Aperta
#1,215 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
type: bug
Lingua principale
Python
Stelle
18.9k
Fork
1k
Merge medio
1g 4h
PR unite (30g)
28

Descrizione

When playing Steam games with a controller on Pop!_OS (X11), ActivityWatch marks the session as **AFK** even though the game window is active and being used.

The window watcher correctly detects the game and records window activity (e.g., ŌKAMI HD), but the AFK timeline still shows the time as idle. This appears to happen because controller input does not generate keyboard or mouse events that ActivityWatch’s AFK watcher detects.

I attempted to configure exceptions in `aw-watcher-afk.toml` so the game would not be considered AFK, but it did not change the behavior.

I tested with the following entries in the “ignore titles / don’t mark as AFK” configuration:

```
okami hd
steam_app_587620
ŌKAMI HD
steam_app_587620
.*steamapp_.*
.*Steam.*
.*steamwebhelper.*
```

Even with these patterns configured, gameplay time is still recorded as AFK while the game window is active.

This occurs with Steam games launched through Proton and controlled via a gamepad, where no keyboard or mouse input is generated.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.