I would like to know if there is any way to simulate keystrokes with jQuery.
For example, when you click a button, you simulate that the "down" and "left" keys have been pressed, as if the user had them.
$(document).on('click', function (){
// Simule pressionar as teclas 'down' e 'left' do teclado
});
Can you do this? With jQuery, preferably.
For those who are confused, I think the term used in this type of operation (usually by gamers) is bot
(robot) for keystrokes.