[visionegg] Re: directing VE fullscreen when using two displays (not cloned displayed)
- From: "Ted Strauss" <ted.strauss@xxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Mon, 2 Jul 2007 13:10:42 -0500
Hi Chao,
That's a great idea, thanks!
I will try it out and report on the results.
Ted
On 7/2/07, Chao Tang <tang@xxxxxxxxxxx> wrote:
Hi Ted,
You may try this: (assuming two 1024x768 monitor settings)
1. Set XP's 2nd monitor position to a certain value, say (1024,0) (i.e.,
right to the 1st)
2. Set related VE configuration parameters
# Screen width/height
VISIONEGG_SCREEN_W = 1024
VISIONEGG_SCREEN_H = 768
# Use fullscreen?
VISIONEGG_FULLSCREEN = 0
# Open a window without a surrounding frame?
VISIONEGG_FRAMELESS_WINDOW = 1
3. Add a few lines to your VE code
inport os
# set border-less window position to (0,0) on the secondary display
os.environ['SDL_VIDEO_WINDOW_POS']="1024,0"
These will deliver your stimulus to the 2nd monitor in a frame-less window
(fake full screen).
Best,
Chao
-----Original Message-----
*From:* visionegg-bounce@xxxxxxxxxxxxx [mailto:
visionegg-bounce@xxxxxxxxxxxxx]*On Behalf Of *Ted Strauss
*Sent:* Monday, July 02, 2007 11:10 AM
*To:* visionegg@xxxxxxxxxxxxx
*Subject:* [visionegg] directing VE fullscreen when using two displays
(not cloned displayed)
Hello,
We are trying to use Vision Egg in a two display setup, so that
when VE is started up it goes to full screen on the secondary
display only (nothing on the primary scree). By primary & secondary,
i'm referring to the Windows XP display settings, in which those
numbers can be assigned. VE needs to be the secondary screen
because of requirements of our eye-tracking software.
My question is: is there a VE command which will designate which
of the two screens the viewport will get displayed to?
I was unable to find anything in the archive or code docs
addressing my question, but if it has been covered, please direct
me.
Thanks!
Ted Strauss
Magnuson Lab
University of Connecticut
- References:
Other related posts:
- » [visionegg] directing VE fullscreen when using two displays (not cloned displayed)
- » [visionegg] Re: directing VE fullscreen when using two displays (not cloned displayed)
- » [visionegg] Re: directing VE fullscreen when using two displays (not cloned displayed)
- » [visionegg] Re: directing VE fullscreen when using two displays (not cloned displayed)
Hi Ted,
You may try this: (assuming two 1024x768 monitor settings)
1. Set XP's 2nd monitor position to a certain value, say (1024,0) (i.e.,
right to the 1st)
2. Set related VE configuration parameters
# Screen width/height
VISIONEGG_SCREEN_W = 1024
VISIONEGG_SCREEN_H = 768
# Use fullscreen?
VISIONEGG_FULLSCREEN = 0
# Open a window without a surrounding frame?
VISIONEGG_FRAMELESS_WINDOW = 1
3. Add a few lines to your VE code
inport os
# set border-less window position to (0,0) on the secondary display
os.environ['SDL_VIDEO_WINDOW_POS']="1024,0"
These will deliver your stimulus to the 2nd monitor in a frame-less window
(fake full screen).
Best,
Chao
-----Original Message-----
*From:* visionegg-bounce@xxxxxxxxxxxxx [mailto:
visionegg-bounce@xxxxxxxxxxxxx]*On Behalf Of *Ted Strauss
*Sent:* Monday, July 02, 2007 11:10 AM
*To:* visionegg@xxxxxxxxxxxxx
*Subject:* [visionegg] directing VE fullscreen when using two displays
(not cloned displayed)
Hello,
We are trying to use Vision Egg in a two display setup, so that
when VE is started up it goes to full screen on the secondary
display only (nothing on the primary scree). By primary & secondary,
i'm referring to the Windows XP display settings, in which those
numbers can be assigned. VE needs to be the secondary screen
because of requirements of our eye-tracking software.
My question is: is there a VE command which will designate which
of the two screens the viewport will get displayed to?
I was unable to find anything in the archive or code docs
addressing my question, but if it has been covered, please direct
me.
Thanks!
Ted Strauss
Magnuson Lab
University of Connecticut