ActivityWatch / ActivityWatch/activitywatch

ActivityWatch marks Steam games as AFK when using a controller

Đang mở
#1,215 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
type: bug
Ngôn ngữ chính
Python
Star
18.9k
Fork
1k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
28

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.