Re: [Vnc2swf-users] Cursor pseudo-encoding
Status: Alpha
Brought to you by:
euske
From: <lfk...@ya...> - 2005-11-18 11:47:25
|
Hi, I was thinking a little more about the mouse movement feature. I'm currently using TightVnc. It has a pseudo-encoding for sending the server cursor position so it works great. Unfortunately UltraVnc and many others don't have it. They just send the cursor image to the client so it can be changed to match the server cursor but they never send the server cursor position. I guess they presume that the client will move the mouse and not the other way around. I sent a feature request to UltraVnc to include the same pseudo-encoding that the TightVnc has. Thinking about it I realized that pyvnc2swf doesn't show the server screen. I believe that most people just connect to the localhost. If this is the case why not just capture the mouse position from the screen directly using python? Could even catch mouse clicks and animate them in the swf file. These could be just a feature enabled through a command line arg. Luis Fernando --- Yusuke Shinyama <yu...@cs...> escreveu: > Thank you, Luis! I've received your files. It seems working > pretty good, and I will try to add alpha channel things, and > incorporate your changes into the next version. > > Yusuke > > lfk...@ya... wrote: > > Hi, > > > > I managed to make the cursor pseudo-encodings to work. > > It understands the messages and draws the cursor image at the right place. > > But it still needs to use the cursor mask to change the alpha channel to > make > > the background transparent. Unfortunetly I don't know Python very much. > > Maybe someone with Python knowlegde could make this part to work properly > in > > an > > easily manner. > > How can I send the files? I've been trying to send it but my message gets > > blocked everytime. > > Here's the problem I need to solve: I have one variable with the maskData > > (one > > bit for each pixel) and I have another variable with the image (4 bytes > per > > pixel - RGBA). How can I change the alpha channel? I really couldn't > > understand the types used and how to access each element. > > > > Luis Fernando > > > _______________________________________________________ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |