Re: Baofeng DM-1701/Baofeng DM-1802/Retevis RT-84 running latest OpenMDUV380(openGD77)
Posted: Fri Mar 10, 2023 9:50 am
BTW.
I received my DM-1701
Looking at the mapping of the P1 and P2 keys, its not so simple to map these to left and right, because the code in the VFO and Channel screens was re-written to use the Up and Down arrows on the UV380/RT3S for the functions of the Left and Right arrows
But also there were other changes so that the Up and Down arrows would start the scan etc
So its not a simple change to change all instances of Up to Right.
Possibly there needs to be a separate codebase for the DM-1701 or there probably needs to be different VFO and Channel screen source files
e.g. uiChannelScreen_DM1701.c and uiVFOScreen_DM1701.c , because i think doing conditional compilation on many places in the code may make the code unreadable / unmaintainable.
i.e the uiChannel and uiVFOScreen code would probably be very similar to the GD77 code
I received my DM-1701
Looking at the mapping of the P1 and P2 keys, its not so simple to map these to left and right, because the code in the VFO and Channel screens was re-written to use the Up and Down arrows on the UV380/RT3S for the functions of the Left and Right arrows
But also there were other changes so that the Up and Down arrows would start the scan etc
So its not a simple change to change all instances of Up to Right.
Possibly there needs to be a separate codebase for the DM-1701 or there probably needs to be different VFO and Channel screen source files
e.g. uiChannelScreen_DM1701.c and uiVFOScreen_DM1701.c , because i think doing conditional compilation on many places in the code may make the code unreadable / unmaintainable.
i.e the uiChannel and uiVFOScreen code would probably be very similar to the GD77 code