UCR icon indicating copy to clipboard operation
UCR copied to clipboard

Can't drag a window onto a second screen

Open oneswitch opened this issue 10 years ago • 2 comments

Bit of an obtuse one, but when used with JoyToKey, I can set the left-stick up as a mouse, and can interact across multiple-screens, but I cannot drag a window across to the right-side screen (the pointer seems to stop at pixel column 0 on the 2nd screen).

Not a huge issue, but maybe an easy fix. I can click on items on 2nd monitor.

oneswitch avatar Feb 06 '16 16:02 oneswitch

When doing this, what functionality does UCR handle? Physical joystick to virtual joystick?

UCR has no mouse output, but mouse output and window management is very easy in AHK. Mouse output plugins are entirely possible, but for window management you have way more options.

For example, if you put the following in a CodeRunner plugin, when you hit the hotkey it would move a notepad window to 0,0 and size it to 200x100

WinMove, ahk_exe notepad.exe, , 0,0,200,100

evilC avatar Feb 07 '16 10:02 evilC

Sorry so slow. UCR would be mapping across the X-Y (left-thumb-stick) and button 1 to vJoy. This will then be picked up by JoyToKey and converted to mouse actions and a left-click. Then when I use this set-up to drag a window about, I can move no further than screen 1 (as regards where the mouse pointer is).

However, if I disable UCR, and set JoyToKey to react to a physical rather than virtual joystick, there's no such issue. I can drag across between two screens.

oneswitch avatar Feb 19 '16 11:02 oneswitch