How i can change of keyboard key value?

how i can change of keyboard key value? So, i want to change value on input box. For example; when i have pressed “s” then we must convert this value to “ş”. But how i can? Please help me.

Thanx.