Re: Hash key on Macbook Pro (OSX 10.11.6)
"Peter Vince" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonny,
Yes - this is the code segment being used:
case SDL_TEXTINPUT:
i = 0;
while (ev.text.text[i] != '\0')
putkey(ev.text.text[i++]) ;
break ;
Regards,
Peter
Jonny D wrote:
> Is this happening for an SDL_TEXTINPUT event?
>
> Jonny D
>
>
> On Mon, Sep 19, 2016 at 1:20 PM, Peter Vince <[email protected] ([email protected])> wrote:
>
> > I'm trying to use an application on a Macbook Pro with a British keyboard, that has been written with SDL. That laptop has no direct key for the Hash (#) character, and I normally need to press ALT-3 to get that character. But it appears SDL is trapping the ALT key, so preventing me using that character - unless I cut-and-paste it from another Mac application.
> >
> > Has this been noticed before, and is there a work-around please?
> >
> > Thank you
> >
> >
> > _______________________________________________
> > SDL mailing list
> > [email protected] ([email protected])
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org (http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
> >
> >
>
_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org