File tree Expand file tree Collapse file tree
Buttplug.Server/Bluetooth/Devices Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33using System . Threading . Tasks ;
44using Buttplug . Core ;
55using Buttplug . Core . Messages ;
6+ using System . Collections . Generic ;
67
78namespace Buttplug . Server . Bluetooth . Devices
89{
@@ -117,10 +118,21 @@ public IButtplugDevice CreateDevice(IButtplugLogManager aLogManager,
117118
118119 internal class Lovense : ButtplugBluetoothDevice
119120 {
121+ private static Dictionary < string , string > FriendlyNames = new Dictionary < string , string > ( )
122+ {
123+ { "LVS-A011" , "Nora" } ,
124+ { "LVS-C011" , "Nora" } ,
125+ { "LVS-B011" , "Max" } ,
126+ { "LVS-L009" , "Ambi" } ,
127+ { "LVS-S001" , "Lush" } ,
128+ { "LVS-Z001" , "Hush" } ,
129+ { "LVS-P36" , "Edge" } ,
130+ } ;
131+
120132 public Lovense ( IButtplugLogManager aLogManager ,
121133 IBluetoothDeviceInterface aInterface )
122134 : base ( aLogManager ,
123- $ "Lovense Device ({ aInterface . Name } )",
135+ $ "Lovense Device ({ FriendlyNames [ aInterface . Name ] } )",
124136 aInterface )
125137 {
126138 MsgFuncs . Add ( typeof ( SingleMotorVibrateCmd ) , HandleSingleMotorVibrateCmd ) ;
You can’t perform that action at this time.
0 commit comments