Skip to content

Commit

Permalink
fix: ps2触控板有事件上报,但是无法使用
Browse files Browse the repository at this point in the history
xinput list可以看到触控板变成了floating,被dde-api过滤掉了

Log: 支持状态为floating的触控板
pms: BUG-298693
  • Loading branch information
fly602 committed Jan 8, 2025
1 parent 2620c0f commit bf4e1b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dxinput/utils/list.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ list_device(int* num)
DeviceInfo* devs = NULL;
for (i = 0; i < all_num; i++) {
if ((xinfos[i].use != XISlavePointer &&
xinfos[i].use != XISlaveKeyboard)) {
xinfos[i].use != XISlaveKeyboard &&
xinfos[i].use != XIFloatingSlave)) {
continue;
}

Expand Down

0 comments on commit bf4e1b7

Please sign in to comment.