Help - Search - Members - Calendar
Full Version: RGSS2 Input from keyboard
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS2
rural_monk
Hi, im trying to distingush between the two shift keys on the keyboard. How do i do that? the code like im working on is in a module.
"menu1 = Input::left shift"
"menu2 = Input::right shift"

-- would i just type Lshift? or LeftShift?

hope i dont sound confusing. thanks.
Kread-EX
You can't do that without a Keyboard script.
rural_monk
QUOTE (Kread-EX @ Jan 18 2012, 11:15 AM) *
You can't do that without a Keyboard script.


would i also need a script for this? what if i want a small menu to appear while "holding" shift. and when i let go, the menu closes. i tried using
Input.press?, but it wont work. is there a simple keyword im missing?
Kread-EX
Input.press? checks if the key is continuously pressed. It isn't something you should use for menus. You might use it for small pop-up windows, but certainly not selectable menus.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.