yeah, a keylogger is pretty much a trojan. because trojans also keylogs stuff

well depends what kind of trojan, some trojans Key log, some trojans delete files and destroy your system
but no i dont know how to make one. it isnt hard tho. trojan is only a very short peice of code. im sure u can find it out on google tho