gotzl / hid-fanatecff

Driver to support FANATEC input devices, in particular ForceFeedback of various wheel-bases
GNU General Public License v2.0
151 stars 19 forks source link

Display enhancement #44

Closed ZakMcKrack3n closed 8 months ago

ZakMcKrack3n commented 8 months ago

Implemented support for some characters and commas in the seven segment display. I tried to use FANATECs display scheme of letters whenever possible (when encountered in the tuning menu).

Also every segment now can have the point/comma set separately, this is independent of numbers/characters. Examples:

The comma is turned on after each encountered character, also the following additional characters are now supported:

Segment lookup is now done using a lookup table using ascii char offsets (minimal wasted memory for some unusable characters), no iteration over every bit is needed any more. There is a basic toLower implemented for upper case letters, in the end they will map to the same values for the display.

Also added the id of my wheel, this currently has no impact on anything and is just for further development.

gotzl commented 8 months ago

Thank's alot for your contribution!