Laggy mouse with 5.40

Linux specific forum
Joubarbe
Enthusiast
Enthusiast
Posts: 714
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Laggy mouse with 5.40

Post 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.
User avatar
ar-s
Enthusiast
Enthusiast
Posts: 344
Joined: Sat Oct 06, 2007 11:20 pm
Location: France

Re: Laggy mouse with 5.40

Post 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.
~Ar-S~
My Image Hoster for PB users
My webSite (french) with PB apps : LDVMULTIMEDIA
PB - 3.x / 5.7x / 6 - W11 x64 - Ryzen 7 3700x / #Rpi4

Code: Select all

r3p347 : 7ry : un71l d0n3 = 1
Post Reply