projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e301c
)
fixed usb mouse/keyboard detection
author
davilla
<davilla@4pi.com>
Sat, 18 Aug 2012 15:19:49 +0000
(11:19 -0400)
committer
Trent Nelson
<trent.a.b.nelson@gmail.com>
Thu, 3 Oct 2013 14:56:17 +0000
(10:56 -0400)
Peripheral insertions and removals after boot weren't reflected.
xbmc/windowing/WinEventsLinux.h
patch
|
blob
|
history
diff --git
a/xbmc/windowing/WinEventsLinux.h
b/xbmc/windowing/WinEventsLinux.h
index
00fa5e4
..
f6c8df0
100644
(file)
--- a/
xbmc/windowing/WinEventsLinux.h
+++ b/
xbmc/windowing/WinEventsLinux.h
@@
-32,6
+32,11
@@
public:
bool MessagePump();
size_t GetQueueSize();
void RefreshDevices();
+ void Notify(const Observable &obs, const ObservableMessage msg)
+ {
+ if (msg == ObservableMessagePeripheralsChanged)
+ RefreshDevices();
+ }
static bool IsRemoteLowBattery();
private: