Reading your rather incomplete report, I presume your first install, before resizing the root partition was Slackware -current. And if that worked, then you might have messed up the resizing - your root partition is corrupted, the second installation went wrong and the kernel didn't load properly (modules not available?). Thus, your keyboard is not working.
You haven't detailed your resizing procedure, so I can't figure out what/if went wrong.
There is a convenient tool (works well) that I'd suggest to use when resizing:
https://gparted.org/liveusb.php
I believe the easiest fix would be to start from scratch, delete and redefine your partitions and get a fresh Slackware installation. Any other fixing operations would be more complicated.