Jump to content


Keep the backlight on :D

- - - - -

  • Please log in to reply
20 replies to this topic

#21
bitbank

bitbank

    Diehard

  • Members
  • PipPipPipPip
  • 456 posts
  • Location:Rainy, Redmond, WA
I've found a way to keep the backlight on and the machine from sleeping which seems to work on all versions of Windows desktop and mobile.

Every 9 seconds (as suggested above), do the following:

keybd_event(VK_F24, 0, KEYEVENTF_KEYUP, 0);

This creates a "virtual" keypress (actually a key release) of a non-existant key and fools the system into thinking that the user is doing it.

Seems to work fine on all devices I've tested.

Larry B.

the fastest instructions are none at all :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users