1. OT-ish: New Keyboard (MEditor mousewheel)

This morning, my keyboard fused, so I nipped down the high street and
purchased a cheapo replacement - and found one which happened to have
a little mousewheel on it... (By pure chance; the =A34.99 model was just
way too tatty, even for me). Unfortunately, it was the last in stock
so I had to take the display model: no CD. The model in question is a
btc 8191, google shows me several hits but for some reason I cannot
seem to access any of the files, I get stuck with some chinese
character set not being downloadable, then points me at Windows
Update, which is a crock.

Anyone wanting me to have a bash at getting the mousewheel to work in
MEditor, or anyone just generally wishing to be helpful, care to help
me locate a driver?

new topic     » topic index » view message » categorize

2. Re: OT-ish: New Keyboard (MEditor mousewheel)

Pete,

Dont make a big deal out of a little thing smile
Interfacing the mouse wheel is one of the simplest possible
chores.

Have your message map trap WM_MOUSEWHEEL and have the code
call your single line scroll routine in the direction
according to the direction you detect with the wparam
argument.

If you wish to give your user a setting for the number of lines
to scroll, simply look that value up and scroll that many
lines.  

One of the easiest things you'll ever have to do smile

I think on my editor i call KeyDown the number of times required.
You may have to use a routine id of course.

Probably wont even have to test it, but once done, pop it in the
email and i'll run it the next day and let you know.

Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » goto parent     » topic index » view message » categorize

3. Re: OT-ish: New Keyboard (MEditor mousewheel)

Al Getz wrote:
> 
> Pete,
> 
> Dont make a big deal out of a little thing smile
> Interfacing the mouse wheel is one of the simplest possible
> chores.
> 
> Have your message map trap WM_MOUSEWHEEL and have the code
> call your single line scroll routine in the direction
> according to the direction you detect with the wparam
> argument.

But if it's some kind of funky keyboard that needs a special driver, then
you'll never get a WM_MOUSEWHEEL message...  I think he's looking for that
driver.

-- Brian

new topic     » goto parent     » topic index » view message » categorize

4. Re: OT-ish: New Keyboard (MEditor mousewheel)

On Sat, 03 Jul 2004 20:01:48 -0400, Elliott Sales de Andrade
<quantum_analyst at hotmail.com> wrote:

>     You mean this doesn't work? 
>http://www.btc.com.tw/english/3-1-6driver_download.htm It doesn't seem to 
>point to a Windows Update site. The only thing weird there is the chinese 
>font, which can be ignored, as it's only used at the top for a language 
>choice (in only two characters, too, why can't they just use a picture...)
>
Yes, that was the page I was having trouble with. Oddly, if I click on
the above link, and cancel the font download popup (it was not
ignoring that which led to windows update), all I get is a blank
screen. Eventually, and largely by accident, I found that if I load
any other page and then key Alt-left to go back, suddenly the page
appears fine. Wierd. I repeated that about six times & got the same
every time. Anyway, I've managed to install the driver now, thanks.

Pete

new topic     » goto parent     » topic index » view message » categorize

5. Re: OT-ish: New Keyboard (MEditor mousewheel)

On Sat, 03 Jul 2004 17:43:10 -0700, Al Getz <guest at RapidEuphoria.com>
wrote:

>Pete,
>
>Dont make a big deal out of a little thing smile
>Interfacing the mouse wheel is one of the simplest possible
>chores.
>
>Have your message map trap WM_MOUSEWHEEL and have the code
>call your single line scroll routine in the direction
>according to the direction you detect with the wparam
>argument.
>
>If you wish to give your user a setting for the number of lines
>to scroll, simply look that value up and scroll that many
>lines.  

That has been in MEditor for well over a year, albeit bugridden.
It was the driver, which I now have, hopefully I'll manage to fix this
sometime this afternoon. 

Pete

new topic     » goto parent     » topic index » view message » categorize

6. Re: OT-ish: New Keyboard (MEditor mousewheel)

Pete:
  You might find a driver here if the driver you
   have don't work.
  http://www.pcdrivers.com/input.htm
Bernie

new topic     » goto parent     » topic index » view message » categorize

7. Re: OT-ish: New Keyboard (MEditor mousewheel)

On Sun, 04 Jul 2004 07:54:42 -0700, Bernard Ryan
<guest at RapidEuphoria.com> wrote:

>Pete:
>  You might find a driver here if the driver you
>   have don't work.
>  http://www.pcdrivers.com/input.htm
>Bernie
Thanks Bernie, the official driver works fine, I was just having a
problem getting IE to display a particular page.
Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu