Keep reportId in hidtools output

Signed-off-by: fly <merspieler@alwaysdata.com>
This commit is contained in:
fly 2024-05-14 16:43:26 +02:00
parent 6903ebdadf
commit 6c3fe969dd
2 changed files with 22 additions and 1 deletions

View file

@ -14,6 +14,27 @@ logicalValueRange = [0, 65535]
usage = ['Generic Desktop', 'Z']
logicalValueRange = [0, 65535]
[[applicationCollection.inputReport.variableItem]]
usageRange = ['Button', 'Button 1', 'Button 16']
logicalValueRange = [0, 1]
[[applicationCollection.inputReport]]
[[applicationCollection.inputReport.physicalCollection]]
usage = ['Generic Desktop', 'Pointer']
[[applicationCollection.inputReport.physicalCollection.variableItem]]
usage = ['Generic Desktop', 'X']
logicalValueRange = [0, 65535]
[[applicationCollection.inputReport.physicalCollection.variableItem]]
usage = ['Generic Desktop', 'Z']
logicalValueRange = [0, 65535]
[[applicationCollection.inputReport.variableItem]]
usageRange = ['Button', 'Button 1', 'Button 16']
logicalValueRange = [0, 1]
[[applicationCollection.outputReport]]
[[applicationCollection.outputReport.variableItem]]

View file

@ -1,3 +1,3 @@
#! /usr/bin/env bash
nix run github:feathecutie/hidtools -- -s descriptor.wara
cat descriptor.h |grep " 0x"|grep -v "ReportId"
cat descriptor.h |grep " 0x"