Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
cfdaf863
Commit
cfdaf863
authored
Jan 31, 2021
by
David Faure
Browse files
kcm_keyboard: Cameras are not keyboards, don't setxkbmap when plugging a camera
parent
871e8927
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/keyboard/xinput_helper.cpp
View file @
cfdaf863
...
...
@@ -102,7 +102,8 @@ static bool isRealKeyboard(const char* deviceName)
return
strstr
(
deviceName
,
"Video Bus"
)
==
nullptr
&&
strstr
(
deviceName
,
"Sleep Button"
)
==
nullptr
&&
strstr
(
deviceName
,
"Power Button"
)
==
nullptr
&&
strstr
(
deviceName
,
"WMI hotkeys"
)
==
nullptr
;
&&
strstr
(
deviceName
,
"WMI hotkeys"
)
==
nullptr
&&
strstr
(
deviceName
,
"Camera"
)
==
nullptr
;
}
int
XInputEventNotifier
::
getNewDeviceEventType
(
xcb_generic_event_t
*
event
)
...
...
David Faure
@dfaure
mentioned in commit
288c2335
·
Jan 31, 2021
mentioned in commit
288c2335
mentioned in commit 288c23353528719b32f97040c4b835df7c7c9943
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment