You were right to come clean, and I commend you for that.
However, most likely, she knew all along that you really did have the affair, and that is probably the ultimate reason you all split up. The reason that she is still seeing you after the disclosure is that she is probably relieved that you finally came clean, and that you obviously want a clean, honest, re-start.
Whatever the case, it’s clear that she loves you very much, and perhaps the deeper feelings you say you have are because you no longer take her for granted.
You must get to the root of the reason of “why you cheated” – that is the MOST important thing. Cheaters are not complicated, they either have a void, or a perceived void in their life, that they attempt to fill by cheating. You must address this, if you are to have healthy relationship with your wife, or someone else in the future. You also need to find out why you became so un-affectionate, and un-helpful…I suspect you were sad the affair was over…
Seek professional counseling, if that is an option for you. You all could do with some joint counseling as well.
In the meantime, you need to support your wife, she will have many emotions running through her mind, anger, fear, resentment general sadness, etc. She will have good days, and bad, and you need to be there and support her through all of them, this was YOUR FAULT, and YOURS ALONE, she is not to blame, remember that…Let her have her feelings, and listen to her frustrations, it’s part of the healing process.
This will take time, being betrayed by the one you hold most dear is very hard to get over, trust me, I have been there…It will require a lot of time, love, patience, and forgiveness……
Reach out to God in prayer, he is listening, and can help………Also, seek council with trusted family, friends, clergy, or all three, God puts people in our life to help, remember that.
I wish you the very best, and will say a prayer for you all.