Skip to content

Commit

Permalink
hack for HP monitors that don't use hex serial
Browse files Browse the repository at this point in the history
  • Loading branch information
mgth committed Dec 7, 2017
1 parent f0caf04 commit e7c186c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LittleBigMouse/ScreenConfig/Screen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public override int GetHashCode()

[TriggedOn(nameof(PnpCode))]
[TriggedOn(nameof(Monitor),"Edid", "Serial")]
public string IdMonitor => this.Get(() => PnpCode + "_" + Monitor.Edid.Serial);
public string IdMonitor => this.Get(() => PnpCode + "_" + Monitor.Edid.Serial=="01010101"?Monitor.Edid.SerialNo:Monitor.Edid.Serial);

[TriggedOn(nameof(InPixel))]
public string IdResolution => this.Get(() => InPixel.Width + "x" + InPixel.Height);
Expand Down

1 comment on commit e7c186c

@mgth
Copy link
Owner Author

@mgth mgth commented on e7c186c Dec 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix #33

Please sign in to comment.