diff --git a/examples/examples/Games/BeastScroll/MMain.module b/examples/examples/Games/BeastScroll/MMain.module index 407d01e02..fdc3a1744 100644 --- a/examples/examples/Games/BeastScroll/MMain.module +++ b/examples/examples/Games/BeastScroll/MMain.module @@ -123,7 +123,7 @@ PUBLIC SUB Screen_Close() END -PUBLIC SUB Screen_KeyPressed() +PUBLIC SUB Screen_KeyPress() IF (key.Code = key.F1) THEN Screen.FullScreen = NOT Screen.FullScreen IF (key.Code = key.Esc) THEN Screen.Close() diff --git a/examples/examples/OpenGL/3DWebCam/Mmain.module b/examples/examples/OpenGL/3DWebCam/Mmain.module index 9597f3405..56756442c 100644 --- a/examples/examples/OpenGL/3DWebCam/Mmain.module +++ b/examples/examples/OpenGL/3DWebCam/Mmain.module @@ -237,9 +237,10 @@ PUBLIC SUB Screen_Draw() yrot += 0.2 ' Y Axis Rotation zrot += 0.4 ' Z Axis Rotation WAIT 0.05 + END -PUBLIC SUB Screen_keyPressed() +PUBLIC SUB Screen_keyPress() IF key.Code = key.F1 THEN Screen.Fullscreen = NOT Screen.Fullscreen IF key.Code = key.Esc THEN Screen.Close() @@ -251,4 +252,5 @@ PUBLIC SUB Timer1_Timer() logo = hWebCam.Image UpdateLogo = TRUE + END