Do you have the parts needed to do programing? A usbasp programmer and a soic8 chip. Lots of information here Guide: how to flash ATtiny13a based drivers (NANJG, QLITE, etc.) with custom firmware
Or are you just asking about what code changes to make?