GamingAnywhere Forum
http://gaminganywhere.org/forum/

Main control by mouse or keyboard
http://gaminganywhere.org/forum/viewtopic.php?f=5&t=195
Page 1 of 2

Author:  Sergey [ Thu Nov 20, 2014 7:21 am ]
Post subject:  Main control by mouse or keyboard

Hello. I search some information on forum about setiingdd of control on server and find - you can ignore key, what you not needed. WHERE???
I need TURN of ANY move by mouse on client and block some buttons like WIN, ALT, ESC, CAPS LOCK ans etc. Can you write me, please - where i can set this setting on servers, what inf? What label need write to block this key. Need turn off MOUSE and some keys on keyboard. Thank you very much and BEST regards from me, Sergey.
P.S. Wait ASAP answer.

Author:  Rob [ Thu Nov 20, 2014 7:10 pm ]
Post subject:  Re: Main control by mouse or keyboard

Hi Sergey,

From what I saw, you can block those buttons either in the sdl replayer (server) or in the client sdl part. You have to do it manually in the code, I dnt think you have this kind of conf file ..

Good luck!

Author:  Sergey [ Thu Nov 20, 2014 9:24 pm ]
Post subject:  Re: Main control by mouse or keyboard

Rob wrote:
Hi Sergey,

From what I saw, you can block those buttons either in the sdl replayer (server) or in the client sdl part. You have to do it manually in the code, I dnt think you have this kind of conf file ..

Good luck!

Yes. you right. But where i can get him, this file? What need to change? What name of this file and how add this config to server?

Author:  Sergey [ Thu Nov 20, 2014 10:33 pm ]
Post subject:  Re: Main control by mouse or keyboard

I find SDL_keycode.h and SDL_keyboard.h. Its right files? How comment no NEEDED buttons. Example - how turn off WIN buuton and ESC buttons?

Author:  Rob [ Thu Nov 20, 2014 11:09 pm ]
Post subject:  Re: Main control by mouse or keyboard

Inside /ctrl-sdl/ctrl-sdl.cpp and /ga-client/ctrl-sdl.cpp all keys are mapped (including ESC or WIN..). It should be in this part that you can enable/disable keys..

Author:  Sergey [ Fri Nov 21, 2014 1:47 am ]
Post subject:  Re: Main control by mouse or keyboard

Rob wrote:
Inside /ctrl-sdl/ctrl-sdl.cpp and /ga-client/ctrl-sdl.cpp all keys are mapped (including ESC or WIN..). It should be in this part that you can enable/disable keys..

Oph, i see. Good, good. Thank you VERY-VERY much, will be check this files and do something with server. Rob, what about mouse buttons? Same Files?

Author:  Rob [ Fri Nov 21, 2014 5:43 pm ]
Post subject:  Re: Main control by mouse or keyboard

You're welcome Sergey!
It guess its in the same file, there's functions sdlmsg_mousewheel, sdlmsg_mousemotion, sdlmsg_mousekey (wheel, move and button click). You should be able to block the mouse's whateveryouwant here.

Author:  Sergey [ Fri Nov 21, 2014 7:26 pm ]
Post subject:  Re: Main control by mouse or keyboard

Rob wrote:
You're welcome Sergey!
It guess its in the same file, there's functions sdlmsg_mousewheel, sdlmsg_mousemotion, sdlmsg_mousekey (wheel, move and button click). You should be able to block the mouse's whateveryouwant here.

And this settings work by default or i need add some information in configuration file?

Page 1 of 2 All times are UTC + 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/