function send_codepoint(codepoint) {

        if (codepoint === 10) {
            send_keysym(0xFF0D);
            release_sticky_keys();
            return;
        }

        var keysym = keysym_from_codepoint(codepoint);
        if (keysym) {
            send_keysym(keysym);
            release_sticky_keys();
        }

    }
Presses and releases the key having the keysym corresponding to the
Unicode codepoint given, as if typed by the user.

@param {Number} codepoint The Unicode codepoint of the key to send.