1.1 --- a/Form1.cs Tue Nov 04 22:11:01 2014 +0100
1.2 +++ b/Form1.cs Wed Nov 05 10:19:02 2014 +0100
1.3 @@ -129,7 +129,14 @@
1.4 }
1.5 else if (e.MceButton != MceButton.Null)
1.6 {
1.7 + //Display MCE button name
1.8 label1.Text = e.MceButton.ToString();
1.9 + //Check if this is an HP extension
1.10 + if (Enum.IsDefined(typeof(HpMceButton), (int)e.MceButton))
1.11 + {
1.12 + //Also display HP button name
1.13 + label1.Text += " / HP:" + ((HpMceButton)e.MceButton).ToString();
1.14 + }
1.15 }
1.16 else
1.17 {