diff --git a/README.md b/README.md index 8cd9206..ffd80a9 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ -# Usage - -## Instructions +# Usage Instructions * Plug HDMI into Beamer * Plug USB into Computer * booting the Raspberry takes approximately ?? seconds. the ?? led will light up when ready * 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 # Initial setup @@ -18,7 +16,8 @@ * Raspberry Pi Zero or Zero W or Model A (Model B/2B/3 not supported!) ## Hardware - ______________________ + D D (Status LEDs) + _______________||||___ | :::::::::::::::::::: | | | |_HDMI________USB__PWR_| @@ -73,5 +72,6 @@ mount -o remount,rw /boot ## ToDo * 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 diff --git a/windows-snapshot-tool/src/main.cpp b/windows-snapshot-tool/src/main.cpp index bfd17fb..4c2bad9 100644 --- a/windows-snapshot-tool/src/main.cpp +++ b/windows-snapshot-tool/src/main.cpp @@ -194,14 +194,16 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM } } 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: { doScreenshot(); } break; - +*/ // intercept the hittest message.. case WM_NCHITTEST: {