Jump to content

Recommended Posts

Posted

HI gang,

 

I've got an incremental encoder hooked up to to the cursor control of the Abris. Works well but there's a couple of small issues.

 

1. Although the cursor moves on the screen like its supposed to, the on-screen knob doesn't rotate. Not a big deal.

 

2. The cursor moves like its supposed to but the resolution on the map screen is more coarse than with the mouse wheel. I'm talking about how far it moves in response to one input from the encoder.

 

Is there any way to modify this?

 

I tried the gain parameter but it looks like that just affects how fast the on-screen knob turns in rsponse to the mouse wheel.

 

Anyone have any ideas?

 

Thanks everyone,

Colin

Posted

When you say hooked up ... how do you have it hooked up. Are you sending direct x button presses and mapping it in game or are you using some LUA integration.

 

To make the resolution finer you will have to do your own LUA integration or use something like Helios.

Posted

Hi everybody,

 

Looks like I solved the problem.

 

For performClickableAction(switch,value) I was using a value of -1 or 1.

 

I changed that to -0.1 or 0.1 and it works right.

 

Cheers,

Colin

Posted

While many of the clickable action items use -0.1 or 0.1 the mouse wheel often is even finer grained than that. If it still feels clunky you can try reducing it further.

Posted

The knob turns whatever part of a revolution you send it. So if you send it 0.5 it will turn a half circle. If you send it 1 it will turn a fulll circle. Which is why I thought it wasn't moving :-)

 

The encoder I'm testing this with is 16 ppr, so now, instead of dividing by 10, I'm dividing by 16.

 

Cheers,

Colin

  • 1 month later...
Posted
Can you explain a bit more how did you do it? Thanks in advance

Basically, I send a "0" for every left click and a "2" for every right click. Then at the lua end I subtract 1 to get either -1 or 1. Then I divide by 16 and use that for the performClickableAction.

Hope that helps a little bit,

Cheers,

Colin

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...