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 - KaiOS keycodes support
Summary: KaiOS keycodes support
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: Other Other
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-03 20:40 UTC by pelya
Modified: 2020-03-04 01:56 UTC (History)
0 users

See Also:


Attachments
KaiOS keycodes support patch (928 bytes, patch)
2020-03-03 20:40 UTC, pelya
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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