Thanks for the reply. A code fragment:
1 2 3 4 5
| Component comp = event.getComponent(); String compName = comp.getName(); Component.Identifier compIdent = comp.getIdentifier(); String compId = comp.getIdentifier().getName(); buffer.append(String.format(" %s idt: %s %s %s", comp, compName, compIdent, compId)); |
is returning "pov" for all values.
I'm not seeing anything returning the string "Component.Identifier.Axis.POV" or alternatively
"Component$Identifier$Axis$POV"
If I look at the class name of the "comp" it shows LinuxJoystickPOV
While I can just hard coded it to "pov" I would much rather use either a nice class name or a manifest constant from the package.
Thanks
Pat