Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Ability to Detect Right-Clicks

Hawkster Westmoreland
Freakin' Awesome
Join date: 7 Dec 2006
Posts: 2
02-16-2007 12:57
For LSL programmers, it would be incredibly convenient to add the feature to detect a right-click on the mouse. Since the SL viewer is written in C++, the viewer could detect something like a VK_RIGHT_CLICK or something like that (VK_ for "virtual key";) and then throw the event to the game.

This could be incredibly useful (such as working with alternate forms of fire with a single weapon, like full-auto fire with the left mouse-click and shooting a grenade with the right mouse-click).
_____________________
:cool: I'm alive, kicking, awesome, and scripting! :cool:
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
02-16-2007 13:20
I'm pretty sure the viewer already knows how to detect right-clicks.. :)

This sounds like a decent suggestion but having the right-click go to LSL would mean that an object could disable the pie menu. Is there some mischief that could be done there? If so, it probably won't be accepted.
Mike Westerburg
Who, What, Where?
Join date: 2 May 2004
Posts: 317
02-16-2007 19:06
I like that idea! At least having one additional input mapped to the LSL would be great!

Though I would rather have full mapping of all keys and supporting alternative input devices such as flight sticks and game pads. I have been dreaming of the day when I can use my flight stick with my aircraft, at least perhaps allowing us to map more keys we could fake it with an external 3rd party application.
_____________________
"Life throws you a lemon, you make lemonade and then plant the seeds"
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
02-17-2007 05:19
Certainly in mouse-look it would be really useful
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)