Browse Source

update documentation

main
Hendrik Langer 6 years ago
parent
commit
4ac8b4b212
  1. 12
      README.md
  2. 6
      windows-snapshot-tool/src/main.cpp

12
README.md

@ -1,12 +1,10 @@
# Usage # Usage Instructions
## Instructions
* Plug HDMI into Beamer * Plug HDMI into Beamer
* Plug USB into Computer * Plug USB into Computer
* booting the Raspberry takes approximately ?? seconds. the ?? led will light up when ready * booting the Raspberry takes approximately ?? seconds. the ?? led will light up when ready
* start freeze.exe from the (now attached) USB-Drive * start freeze.exe from the (now attached) USB-Drive
* press WindowsKey+Y to take a screenshot * press WindowsKey+Y or PRINTSCREEN to take a screenshot
* simply unplug after use * simply unplug after use
# Initial setup # Initial setup
@ -18,7 +16,8 @@
* Raspberry Pi Zero or Zero W or Model A (Model B/2B/3 not supported!) * Raspberry Pi Zero or Zero W or Model A (Model B/2B/3 not supported!)
## Hardware ## Hardware
______________________ D D (Status LEDs)
_______________||||___
| :::::::::::::::::::: | | :::::::::::::::::::: |
| | | |
|_HDMI________USB__PWR_| |_HDMI________USB__PWR_|
@ -73,5 +72,6 @@ mount -o remount,rw /boot
## ToDo ## ToDo
* bootsplash * bootsplash
* dritte led für boot? * dritte led für boot?: dtoverlay=gpio-poweroff,gpiopin=23,active_low
* gpio pins ändern
* screenshot-tool option für sofortigen screenshot * screenshot-tool option für sofortigen screenshot

6
windows-snapshot-tool/src/main.cpp

@ -194,14 +194,16 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
} }
} }
break; break;
/* // registering the hotkey with NULL instead of Hwnd causes a WM_HOTKEY
// to be send to the thread instead of the window. this is the way to go!
// but that won't propagate to here. so this is handled in the message loop.
case WM_HOTKEY_FREEZE: case WM_HOTKEY_FREEZE:
case WM_HOTKEY: case WM_HOTKEY:
{ {
doScreenshot(); doScreenshot();
} }
break; break;
*/
// intercept the hittest message.. // intercept the hittest message..
case WM_NCHITTEST: case WM_NCHITTEST:
{ {

Loading…
Cancel
Save