Skip to content

Commit

Permalink
Updated HID Usage Tables to 1.5.0
Browse files Browse the repository at this point in the history
* Updated minor version number
* Allow specifying PDF URL via `HIDUsageTablesPDF.url`
* Major cleanup of Readme.md
  • Loading branch information
thargy committed Feb 20, 2024
1 parent ddffdc6 commit c9095bf
Show file tree
Hide file tree
Showing 72 changed files with 401 additions and 164 deletions.
1 change: 1 addition & 0 deletions HIDDevices.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig
DevDecoder Icon.png = DevDecoder Icon.png
LICENSE.txt = LICENSE.txt
HIDUsageTablesPDF.url = HIDUsageTablesPDF.url
NOTICE.txt = NOTICE.txt
.github\workflows\publish.yml = .github\workflows\publish.yml
.github\workflows\validatepullrequest.yml = .github\workflows\validatepullrequest.yml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down Expand Up @@ -658,6 +658,18 @@ public enum DigitizersPage : uint
// Transducer Switches Usage.
// </summary>
[Description("Transducer Switches")]
TransducerSwitches = 0x000d00a5
TransducerSwitches = 0x000d00a5,

// <summary>
// Transducer Index Selector Usage.
// </summary>
[Description("Transducer Index Selector")]
TransducerIndexSelector = 0x000d00a6,

// <summary>
// Button Press Threshold Usage.
// </summary>
[Description("Button Press Threshold")]
ButtonPressThreshold = 0x000d00b0
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down Expand Up @@ -142,7 +142,9 @@ protected override Usage CreateUsage(ushort id)
case 0x00a2: return new Usage(this, id, "Transducer Connected", UsageTypes.SF);
case 0x00a3: return new Usage(this, id, "Switch Disabled", UsageTypes.Sel);
case 0x00a4: return new Usage(this, id, "Switch Unimplemented", UsageTypes.Sel);
case 0x00a5: return new Usage(this, id, "Transducer Switches", UsageTypes.Sel);
case 0x00a5: return new Usage(this, id, "Transducer Switches", UsageTypes.CL);
case 0x00a6: return new Usage(this, id, "Transducer Index Selector", UsageTypes.DV);
case 0x00b0: return new Usage(this, id, "Button Press Threshold", UsageTypes.DV);
}

return base.CreateUsage(id);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down Expand Up @@ -522,6 +522,12 @@ public enum GenericDesktopPage : uint
[Description("System Hibernate")]
SystemHibernate = 0x000100a8,

// <summary>
// System Microphone Mute Usage.
// </summary>
[Description("System Microphone Mute")]
SystemMicrophoneMute = 0x000100a9,

// <summary>
// System Display Invert Usage.
// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down Expand Up @@ -120,6 +120,7 @@ protected override Usage CreateUsage(ushort id)
case 0x00a6: return new Usage(this, id, "Application Debugger Break", UsageTypes.OSC);
case 0x00a7: return new Usage(this, id, "System Speaker Mute", UsageTypes.OSC);
case 0x00a8: return new Usage(this, id, "System Hibernate", UsageTypes.OSC);
case 0x00a9: return new Usage(this, id, "System Microphone Mute", UsageTypes.OOC);
case 0x00b0: return new Usage(this, id, "System Display Invert", UsageTypes.OSC);
case 0x00b1: return new Usage(this, id, "System Display Internal", UsageTypes.OSC);
case 0x00b2: return new Usage(this, id, "System Display External", UsageTypes.OSC);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed under the Apache License, Version 2.0 (the "License").
// See the LICENSE file in the project root for more information.

// Specification revision: 1.3.0; generated at 2022-03-01 02:00:40Z.
// Specification revision: 1.5.0; generated at 2024-01-08 23:33:15Z.

#pragma warning disable CS0108 // Member hides inherited member; missing new keyword

Expand Down
Loading

0 comments on commit c9095bf

Please sign in to comment.