Page 1 of 1

Laggy mouse with 5.40

Posted: Mon Oct 26, 2015 9:39 am
by Joubarbe
Hey,

Code: Select all

InitSprite() : InitMouse() : InitKeyboard()

OpenWindow(0, 0, 0, 600, 600, "")
OpenWindowedScreen(WindowID(0), 0, 0, 600, 600)

CreateSprite(0, 5, 5)
StartDrawing(SpriteOutput(0))
Box(0, 0, OutputWidth(), OutputHeight(), RGB(255,0,0))
StopDrawing()

Repeat
  
  Repeat 
    
    event = WindowEvent()
    
  Until event = 0
  
  ExamineKeyboard() : ExamineMouse()
  
  ClearScreen(0)
  
  DisplaySprite(0, MouseX(), MouseY())
  
  FlipBuffers()
  
Until KeyboardReleased(#PB_Key_Escape)
Does anyone else have problems with that code ? The mouse is laggy and barely moves. Linux Mint 17.2. It worked fine with the early betas of 5.40.

Re: Laggy mouse with 5.40

Posted: Wed Oct 28, 2015 10:06 am
by ar-s
No lag here. you may use a roccat mouse (or gamer mouse with to high sensibility). If yes, try with a "normal" mouse to see if i'm right.