Look at the Custom Controls example here:
https://www.wowace.com/projects/ace3...options-tables
You would need to create a defaults table and an options table, register them with Ace3 as per the other examples in the documentation. In your options table follow the Custom Controls example. If you get stuck, start a new thread and I'm sure someone will help out.