Skip to content

Commit

Permalink
Make "Nokia Keyboard" layout a bit more descriptive.
Browse files Browse the repository at this point in the history
This one is specifically for the Nokia C-Series and E-Series that
had QWERTY keyboards with special key values for its keypad section.
  • Loading branch information
AShiningRay committed Dec 13, 2024
1 parent 2337449 commit b3fd62e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/libretro/freej2me_libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ static void check_variables(bool first_time_startup)
else if (!strcmp(var.value, "Motorola/SoftBank")) { phoneType = 2; }
else if (!strcmp(var.value, "Motorola Triplets")) { phoneType = 3; }
else if (!strcmp(var.value, "Motorola V8")) { phoneType = 4; }
else if (!strcmp(var.value, "Nokia Keyboard")) { phoneType = 5; }
else if (!strcmp(var.value, "Nokia Full Keyboard")){ phoneType = 5; }
else if (!strcmp(var.value, "Sagem")) { phoneType = 6; }
else if (!strcmp(var.value, "Siemens")) { phoneType = 7; }
else if (!strcmp(var.value, "Siemens Old")) { phoneType = 8; }
Expand Down
6 changes: 3 additions & 3 deletions src/libretro/freej2me_libretro.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct retro_core_option_v2_definition core_options[] =
{ "Motorola/SoftBank", NULL },
{ "Motorola Triplets", NULL },
{ "Motorola V8", NULL },
{ "Nokia Keyboard", NULL },
{ "Nokia Full Keyboard", NULL },
{ "Sagem", NULL },
{ "Siemens", NULL },
{ "Siemens Old", NULL },
Expand Down Expand Up @@ -467,7 +467,7 @@ struct retro_core_option_definition core_options_v1 [] =
{ "Motorola/SoftBank", NULL },
{ "Motorola Triplets", NULL },
{ "Motorola V8", NULL },
{ "Nokia Keyboard", NULL },
{ "Nokia Full Keyboard", NULL },
{ "Sagem", NULL },
{ "Siemens", NULL },
{ "Siemens Old", NULL },
Expand Down Expand Up @@ -665,7 +665,7 @@ static const struct retro_variable vars[] =
},
{ /* Phone Control Type */
"freej2me_phone",
"Phone Key Layout; Default|LG|Motorola/SoftBank|Motorola Triplets|Motorola V8|Nokia Keyboard|Sagem|Siemens|Siemens Old"
"Phone Key Layout; Default|LG|Motorola/SoftBank|Motorola Triplets|Motorola V8|Nokia Full Keyboard|Sagem|Siemens|Siemens Old"
},
{ /* Game FPS limit */
"freej2me_fps",
Expand Down
2 changes: 1 addition & 1 deletion src/org/recompile/freej2me/AWTGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public final class AWTGUI
new CheckboxMenuItem("Motorola/SoftBank", false),
new CheckboxMenuItem("Motorola V8", false),
new CheckboxMenuItem("Motorola Triplets", false),
new CheckboxMenuItem("Nokia Keyboard", false),
new CheckboxMenuItem("Nokia Full Keyboard", false),
new CheckboxMenuItem("Sagem", false),
new CheckboxMenuItem("Siemens", false),
new CheckboxMenuItem("Siemens Old", false)
Expand Down

0 comments on commit b3fd62e

Please sign in to comment.