I just upgraded ubuntu to 13.10 but the keyboard input works fine only until I open whatever program is not part of Unity. ( No problems on the unity menu or at login )
Everything works fine under the "Flashback" ( no unity ) session.
Let me know if this works!
I don't know the details of your problem but I just solved a 13.10 upgrade related keyboard issue by looking at this post:
In this case the keyboard worked fine before login and in excel under wine but not in anything else.
This question also had a solution for a keyboard problem but it probably different than yours: