noteye
                                
                                 noteye copied to clipboard
                                
                                    noteye copied to clipboard
                            
                            
                            
                        Android improvements
A new portion of small changes, mostly to make it build on Android.
I very much dislike the current keyboard input handling, but for now let it be. Added an option to not send scancodes from lua to noteye for printable characters (those are sent in textinput event later).
NotEye uses BGRA for internal image representation, but Android's OpenGL ES v1 doesn't support BGRA, so I redefined it to RGBA. It will mess up the colors, so maybe later I'll either add on-the-fly swapping of B and R, or ability to use RGBA globally. Right now all I needed is to make it compile.
These changes look great, but one legal question: since NotEye is currently under GPL, non-GPL games cannot currently link aganst it without a licensing exception -- thus, e.g. ADOM uses NotEye under a different license. So I would need your permission to include your changes in NotEye used in ADOM, potential "gold" Android version of Hydra Slayer, etc. (Alternatlively, I am considering relicensing NotEye as Lesser GPL, which would allow non-GPL games to link against it without requiring a special licensing exception -- but I would also need your permission to do this.) What are your thoughts on this?
Sure, no problem, you can include my changes.
BTW, I released PRIME for Android. There is one interesting feature you might be interested in, namely on-screen buttons. I'm not pushing it to upstream, because the lua code isn't nice, also buttons aren't configurable through NotEye's config menu. You need to hardcode the buttons. But if you are interested, check out prime.lua and buttons.lua ( https://sourceforge.net/projects/prime-roguelike-android/ )