[libmanette] mapping-manager: Explain the key-value for the GUID hash-tables



commit 6dc6a3cf26c2cdd9e53c8e6c9b31fa9106980952
Author: vanadiae <vanadiae35 gmail com>
Date:   Wed Oct 14 20:06:20 2020 +0200

    mapping-manager: Explain the key-value for the GUID hash-tables
    
    So you don't need to look at the code to understand.

 src/manette-mapping-manager.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/manette-mapping-manager.c b/src/manette-mapping-manager.c
index ac059f5..0638472 100644
--- a/src/manette-mapping-manager.c
+++ b/src/manette-mapping-manager.c
@@ -27,9 +27,12 @@
 struct _ManetteMappingManager {
   GObject parent_instance;
 
+  /* Associates the GUID with the device's name */
   GHashTable *names;
+  /* Those two associates a GUID with its full corresponding SDL mapping string */
   GHashTable *default_mappings;
   GHashTable *user_mappings;
+
   gchar *user_mappings_uri;
   GFileMonitor *user_mappings_monitor;
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]