# Touch Screen input

**URL:** <https://discourse.glfw.org/t/touch-screen-input/1595>\
**Category:** support\
**Created:** [July 3, 2020, 10:55am UTC](https://discourse.glfw.org/t/touch-screen-input/1595 "2020-07-03T10:55:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hellerzal](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@Hellerzal](https://discourse.glfw.org/u/Hellerzal)\
**Post date:** [July 3, 2020, 10:55am UTC](https://discourse.glfw.org/t/touch-screen-input/1595/1 "2020-07-03T10:55:08Z")

</div>

Hi, Im writing a cnc interpreter - i have most of what i need, mouse input working,  
keyboard input working.  
i cant get window to open in full screen mode and stay fixed/locked. probably something real simple  
that ive missed and cant see for looking at it for ages.  
i have finally purchased a touchscreen monitor.  
is glfw able to use one (mouse callbacks?) - thanks in advance

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [July 3, 2020, 11:44am UTC](https://discourse.glfw.org/t/touch-screen-input/1595/2 "2020-07-03T11:44:08Z")

</div>

Hi Hellerzal,

welcome to the GLFW forum.

> [@Hellerzal](#):
>
> i cant get window to open in full screen mode and stay fixed/locked

I’m not sure what you mean - do you mean your application is going fullscreen and then going back to windowed?

> [@Hellerzal](#):
>
> i have finally purchased a touchscreen monitor.  
> is glfw able to use one (mouse callbacks?) - thanks in advance

Touchscreens usually output mouse messages in addition to touch messages. [GLFW supports mouse innput via both callbacks and through functions to get the current state](https://www.glfw.org/docs/3.3/input_guide.html#input_mouse).

---

<div class="post-metadata">

**Author:** ![Hellerzal](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@Hellerzal](https://discourse.glfw.org/u/Hellerzal)\
**Post date:** [July 5, 2020, 5:17pm UTC](https://discourse.glfw.org/t/touch-screen-input/1595/3 "2020-07-05T17:17:29Z")

</div>

Hi,  
thanks for response - will hook it up and give it a try

---

<div class="post-metadata">

**Author:** ![Hellerzal](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@Hellerzal](https://discourse.glfw.org/u/Hellerzal)\
**Post date:** [July 5, 2020, 5:22pm UTC](https://discourse.glfw.org/t/touch-screen-input/1595/4 "2020-07-05T17:22:29Z")

</div>

Hi, sorry ive not got the hang of this i thought there were two responders  
Regarding the Full Screen issue.

I can get a windowed screen, which can then be set to open to full screen size,  
i want it to start in full screen mode . and fix it so it cant be changed by the user.

I don’t want it to be re-sizable

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [July 5, 2020, 6:35pm UTC](https://discourse.glfw.org/t/touch-screen-input/1595/5 "2020-07-05T18:35:37Z")

</div>

Hi,

To create a window in fullscreen see the documentation:  
[https://www.glfw.org/docs/latest/window\_guide.html#window\_full\_screen](https://www.glfw.org/docs/latest/window_guide.html#window_full_screen)

You can use the window creation hint `GLFW_RESIZABLE` set to `GLFW_FALSE` to make the window non re-sizeable, and you can use `GLFW_AUTO_ICONIFY` set to `GLFW_FALSE` to specifies that the full screen window will not automatically iconify and restore the previous video mode on input focus loss. See the documentation at:  
[https://www.glfw.org/docs/latest/window\_guide.html#window\_hints](https://www.glfw.org/docs/latest/window_guide.html#window_hints)

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Hellerzal](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@Hellerzal](https://discourse.glfw.org/u/Hellerzal)\
**Post date:** [July 9, 2020, 12:42pm UTC](https://discourse.glfw.org/t/touch-screen-input/1595/6 "2020-07-09T12:42:04Z")

</div>

Hi, Many Thanks,  
Tried to set up touchscreen, but it wont run. that’s a driver issue and will wait - so i cant test  
out mouse feedback for touchscreens.

The Documents you highlighted, i had seen before, but misunderstood i guess… so need to check again - it takes me time to absorb stuff.

But once again many thanks for your help
