# \[1.2\]-Can I Read Keyboard Input Without Cre ating An SDL Screen?

**URL:** <https://discourse.libsdl.org/t/1-2-can-i-read-keyboard-input-without-cre-ating-an-sdl-screen/16560>\
**Category:** SDL Development\
**Created:** [September 2, 2009, 1:14pm UTC](https://discourse.libsdl.org/t/1-2-can-i-read-keyboard-input-without-cre-ating-an-sdl-screen/16560 "2009-09-02T13:14:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clement\_Forest](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/clement_forest/32/801_2.png) [@Clement\_Forest](https://discourse.libsdl.org/u/Clement_Forest)\
**Post date:** [September 2, 2009, 1:14pm UTC](https://discourse.libsdl.org/t/1-2-can-i-read-keyboard-input-without-cre-ating-an-sdl-screen/16560/1 "2009-09-02T13:14:33Z")

</div>

What we are doing here in that situation is to create a null-sized window the  
following way:

```
SDL_CreateRGBSurface(0,0,0,0,0,0,0,0);

```

( SDL\_CreateWindow(“SDL”,0,0,0,0,0) for SDL 1.3 )

Cl?ment Forest
