[libmanette] mapping-manager: Explain the key-value for the GUID hash-tables
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmanette] mapping-manager: Explain the key-value for the GUID hash-tables
- Date: Mon, 23 Nov 2020 11:06:41 +0000 (UTC)
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]