Hi,
There seems to be some comment about developer support for Enigma2 images.
One of the recent frustrations in new code development is the fact that hardware developers seem to want to keep the codes that their remote control drivers emit into Enigma2 a secret. This is ridiculous! All manufacturers should be expected, demanded, to document exactly what every button on their remote control emit, as a KEY_xxx code, into Enigma2. It should not be up to Enigma2 developers and support people to scramble to find access to *EVERY* box and to painstakingly work out and document the button codes so that the hardware can be supported by their image. Similarly any special modes like SHIFT buttons or any buttons that change they codes need to be properly documented.
Further, if the drivers are to be provided as a closed source binary then it should be demanded that the manufacturers *must* allow a button translation may be enabled for all their remote control (and front panel) drivers. That is, Enigma2 developers should be able to adjust the KEY_xxx codes for every button on the remote control and front panel so that the Enigma2 firmware can be simplified and optimised. The current need to bloat the key maps and action maps to make all the different remote controls work should be seen as inappropriate and wrong. This will also formally allow firmware developers to reassign buttons to better support Enigma2. For example, I would dearly love my GigaBlue UE 4K to remap the physical F1 button to emit the KEY_HELP code. This remote control doesn't have a HELP button at all which very much damages the Enigma2 usage experience. I think there are many examples where productive use could be made of uniformly enabling button remaps.
For example, to enable button remapping all the drivers should be made to have two mandatory function calls. One should deliver a list of integers that are the KEY_xxx codes for that remote control presented in a documented order, probably top left to bottom right. The other function call should be take an appropriate list of KEY_xxx codes and load that into the driver. From that point any button press on the remote control should only emit the KEY_xxx code as requested by the firmware.
It may be difficult for the remote control driver to keep the updated list across firmware restarts but then it would be very easy (I have already prepared code) to load the driver remap data on Enigma2 startup.
So, if hardware manufacturers really do want to support the images and the developers let them start with this relatively simple request.
If this question is too far off topic I am happy for this post to be deleted.
Regards,
Ian.