Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11997 Posts in 1588 Topics- by 3508 Members - Latest Member: PienueDut

26. May 2012, 11:40:37 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Suspend keyboard in FPIH
Pages: [1]
Print
Author Topic: Suspend keyboard in FPIH  (Read 392 times)
Agrv
Administrator
Enjoying the stay
*****
Offline Offline

Posts: 64


View Profile
« on: 31. May 2009, 09:12:08 am »

It seems that keyboard suspension is not working in FPIH, either with setKeyboardSuspended or with setSuspended. You can see it in the FirstPersonInputHandlerTest from xith-tk when pressing left control, only the mouse is suspended, the keyboard still controls the avatar.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #1 on: 31. May 2009, 01:38:46 pm »

Fixed.
Logged
Agrv
Administrator
Enjoying the stay
*****
Offline Offline

Posts: 64


View Profile
« Reply #2 on: 31. May 2009, 05:25:05 pm »

Thanks Smiley

EDIT : it is almost perfect, but if you keep the "up" key down while pressing left control to trigger the setSuspended(), the fpih still reacts to the key that was down at the moment it was called. Only a detail though Wink
« Last Edit: 31. May 2009, 07:42:05 pm by Agrv » Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #3 on: 01. June 2009, 12:07:47 am »

Should be fixed now.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic