Maybe you could try with "arrows_2btns" as a basis and overwrite it for the 4 buttons version? Not sure if it will work but may be worth a try...