GSM function & Mouse Input