Skip to content
This repository
Browse code

fixed usb mouse/keyboard detection

Peripheral insertions and removals after boot weren't reflected.
  • Loading branch information...
commit 3207f6820f5b4a16aa497ba185093cd5def816a9 1 parent 36e301c
authored August 18, 2012 t-nelson committed October 03, 2013

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  xbmc/windowing/WinEventsLinux.h
5  xbmc/windowing/WinEventsLinux.h
@@ -32,6 +32,11 @@ class CWinEventsLinux : public IWinEvents
32 32
   bool MessagePump();
33 33
   size_t GetQueueSize();
34 34
   void RefreshDevices();
  35
+  void Notify(const Observable &obs, const ObservableMessage msg)
  36
+  {
  37
+    if (msg == ObservableMessagePeripheralsChanged)
  38
+      RefreshDevices();
  39
+  }
35 40
   static bool IsRemoteLowBattery();
36 41
 
37 42
 private:

0 notes on commit 3207f68

Please sign in to comment.
Something went wrong with that request. Please try again.