Hi to all,
is there an event when keyboard key is release? I want to start an action when user release key and not when pressed.
Thanks a lot guys!
[SOLVED] Event on keyboard key release
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
[SOLVED] Event on keyboard key release
Last edited by Benny on Wed May 12, 2021 3:21 am, edited 1 time in total.
- Ocelot
- Lemma-Class Veteran
- Posts: 2384
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Event on keyboard key release
Keysym prefix keyup should work. For example key 'keyup_K_SPACE' should be triggered when space bar is released.
< < insert Rick Cook quote here > >
Re: Event on keyboard key release
Hi,
thanks a lot, that's just what I was looking for.
For everyone else this is the page in the doc where all keysm are explained
https://www.renpy.org/doc/html/keymap.h ... ght=keysym
thanks a lot, that's just what I was looking for.
For everyone else this is the page in the doc where all keysm are explained
https://www.renpy.org/doc/html/keymap.h ... ght=keysym
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], Ocelot