Peg Supports Splits with only one thing changed. If your keyboard uses 2 wire configuration you need to add rx and tx to your kb.py
rx = board.RX
tx = board.TX
No changes need / can to be made to your main.py for splits every time the keymap is saved the code is re-generated from the data in layout.json. There for no configuration is parsed in your main.py.
Like we go over in the layout docs
splits have 5/6s fields in the