We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5012

Summary: KaiOS keycodes support
Product: SDL Reporter: pelya <x.pelya.x>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: Other   
OS: Other   
Attachments: KaiOS keycodes support patch

Description pelya 2020-03-03 20:40:35 UTC
Created attachment 4236 [details]
KaiOS keycodes support patch

KaiOS is an OS for feature phones, with numeric keypad and non-touch screen, and typically 512 Mb RAM and 4 Gb flash.
It is based on Firefox OS, all apps are made with HTML5 and Javascript. SDL can be cross-compiled using emscripten and packaged as native app.
This patch adds support for star '*' and pound '#' keys on such phones to generate SDL events.
Comment 1 Sam Lantinga 2020-03-04 01:56:51 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/32a52ab3133c