diff options
author | Vicki Pfau <vi@endrift.com> | 2023-12-19 19:38:34 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-01-02 11:20:42 +0100 |
commit | 555b818adb97eca70210a49ba3f1d27882dde092 (patch) | |
tree | 7ba5c8c218b12a5dd864936447d5f269f140e55a /scripts/clang-tools/gen_compile_commands.py | |
parent | 691ead124a0c35e56633dbb73e43711ff3db23ef (diff) |
HID: hid-steam: Make client_opened a counter
The client_opened variable was used to track if the hidraw was opened by any
clients to silence keyboard/mouse events while opened. However, there was no
counting of how many clients were opened, so opening two at the same time and
then closing one would fool the driver into thinking it had no remaining opened
clients.
Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions