Nrf52840 Development board with Adafruit NRF52 Core

Has anyone seen a set of variant files that allow the nrf52840 development board that you can get at low cost on sites like ali;

nrf52840 Development Board

With the Adafruit NRF52 core;

https://github.com/adafruit/Adafruit_nRF52_Arduino

The changes to variant.h and variant.cpp dont look too difficult, but the appropriate settings in boards.txt dont look very obvious.

I have bought some of these. If there is any knowledge out there that I need to learn to get these working please let us know.

I have found that this is something called a nice!nano and can be programmed as a keyboard with little effort. I would like to know how this works with arduino, I would like to make a gamepad with it, so very similar but not quite right. I found the appropriate bootloader: GitHub - adafruit/Adafruit_nRF52_Bootloader: USB-enabled bootloaders for the nRF52 BLE SoC chips and that's where i get a little lost.

There is no published variant files for Arduino, as far as I know, hence my question.

The clone nice!nano boards are used with the Meshtastic software, but that runs under PlatformIO.

How do you make variant.h files? I will learn it if there are resources available but my searches are coming up short.

You look at the structure of a known working variant.h file and copy it ?