Created
July 23, 2020 12:07
-
-
Save metacoma/3664ae76fcd2fd88153ce4627347ce93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Client side mod | |
register.on_control({ | |
-- optional filter | |
controls = { "insret", "shift" } | |
on_pressed = function(control) | |
console.log(control .. " was pressed") | |
end | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment