Log In  

On every version of pico-8, some keys and key combos don't work. The biggest problem is that enter doesn't work. The rest of the letter keys appeared to work.

This problem applied on both win8.1 and win10. My computer has an Intel Atom Z2760 @ 1.8GHz so it's a 32bit OS.

Any help is appreciated. Thanks.

P#17844 2015-12-16 10:30 ( Edited 2015-12-18 22:36)

Which keys don't work?

P#17847 2015-12-16 14:51 ( Edited 2015-12-16 19:51)

Enter and control as far as I can tell. Its hard to tell exactly because there aren't enough shortcuts to test every key.

P#17849 2015-12-16 14:59 ( Edited 2015-12-16 19:59)

Hi CKH4 -- could you please run this diagnostic program (for either version of Windows) and then send me the log.txt it generates? (hey at lexaloffle dot com)

keyboard_test_3.zip

Press a couple of letters, then hit Enter 3 times so it's clear what's happening in the log. Then ALT-F4 to quit. You should find the log.txt it generates in the same folder as the executable.

Thanks!

P#17857 2015-12-16 16:41 ( Edited 2015-12-16 21:41)

(or you could just post the bottom of log.txt here instead)

P#17860 2015-12-16 16:49 ( Edited 2015-12-16 21:49)

Here it is:

codo_init
platform: Windows
Found config.txt

01 video_mode 640 480 32 // set the width, height and bitdepth. ignored by fixed-res games.
02 show_fps 0 // Draw frames per second in the corner
03 windowed 1 // 1 to start up in windowed mode
04 window_position -1 -1 // x and y position of window, or -1, -1 to let the window manager decide
new window position: -1, -1
05 frameless 0 // 1 to use a window with no frame
06 fullscreen_method 0 // 0 safe (linux)  1 borderless desktop-sized window  2 fullscreen
07 frame_sleep_ms 5 // number of milli seconds to sleep each frame. To save laptop battery power, try 20
08 sessions 2 // number of times program has been run
09 rmb_key 0 // 0 for none  226 for LALT
10 sound_volume 256 // 0..256
11 music_volume 256 // 0..256
12 mix_buffer_size 1024 // usually 1024. Try 2048 if you get choppy sound

codo_system_init
codo_reset_timer
codo_gui_init
codo_keys_init
codo_text_init
codo_video_init
codo_mouse_init
codo_joystick_init
codo_joystick_init
found 0 joystick(s)
ok
ok
codo_sound_init
SDL_INIT_AUDIO ok
SDL_OpenAudio ok
codo_set_screen 640 480 32 4
::SDL_KEYDOWN scan 4 key a [61]
::SDL_TEXTINPUT: [a]
::0 97
::setting ch1: 97
:: ch1:97 LALT:0

:: added a (97) at 0
::SDL_KEYDOWN scan 5 key b [62]
::SDL_TEXTINPUT: [b]
::0 98
::setting ch1: 98
:: ch1:98 LALT:0

:: added b (98) at 0
::SDL_KEYDOWN scan 6 key c [63]
::SDL_TEXTINPUT: [c]
::0 99
::setting ch1: 99
:: ch1:99 LALT:0

:: added c (99) at 0
::SDL_KEYDOWN scan 30 key 1 [31]
::SDL_TEXTINPUT: [1]
::0 49
::setting ch1: 49
:: ch1:49 LALT:0

:: added 1 (49) at 0
::SDL_KEYDOWN scan 31 key 2 [32]
::SDL_TEXTINPUT: [2]
::0 50
::setting ch1: 50
:: ch1:50 LALT:0

:: added 2 (50) at 0
::SDL_KEYDOWN scan 32 key 3 [33]
::SDL_TEXTINPUT: [3]
::0 51
::setting ch1: 51
:: ch1:51 LALT:0

:: added 3 (51) at 0
::SDL_KEYDOWN scan 88 key X [40000058]
::SDL_KEYDOWN scan 88 key X [40000058]
::SDL_KEYDOWN scan 88 key X [40000058]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 61 key = [4000003d]
codo_exit
cmusic_stop
exit_func
:: typed text:
:: abc123
:: -------------------
codo_config_save
codo_sound_exit
codo_video_exit
codo_joystick_exit
codo_system_exit
codo_items_created: 0
ok

P#17863 2015-12-16 17:39 ( Edited 2015-12-18 21:50)

Here is the log from a computer that it does work on, it appears that the enter key can have two different mappings.

codo_init
platform: Windows
codo_system_init
codo_reset_timer
codo_gui_init
codo_keys_init
codo_text_init
codo_video_init
codo_mouse_init
codo_joystick_init
codo_joystick_init
found 0 joystick(s)
ok
ok
codo_sound_init
SDL_INIT_AUDIO ok
SDL_OpenAudio ok
codo_set_screen 640 480 32 4
::SDL_KEYDOWN scan 4 key a [61]
::SDL_TEXTINPUT: [a]
::0 97
::setting ch1: 97
:: ch1:97 LALT:0

:: added a (97) at 0
::SDL_KEYDOWN scan 5 key b [62]
::SDL_TEXTINPUT: [b]
::0 98
::setting ch1: 98
:: ch1:98 LALT:0

:: added b (98) at 0
::SDL_KEYDOWN scan 6 key c [63]
::SDL_TEXTINPUT: [c]
::0 99
::setting ch1: 99
:: ch1:99 LALT:0

:: added c (99) at 0
::SDL_KEYDOWN scan 30 key 1 [31]
::SDL_TEXTINPUT: [1]
::0 49
::setting ch1: 49
:: ch1:49 LALT:0

:: added 1 (49) at 0
::SDL_KEYDOWN scan 31 key 2 [32]
::SDL_TEXTINPUT: [2]
::0 50
::setting ch1: 50
:: ch1:50 LALT:0

:: added 2 (50) at 0
::SDL_KEYDOWN scan 32 key 3 [33]
::SDL_TEXTINPUT: [3]
::0 51
::setting ch1: 51
:: ch1:51 LALT:0

:: added 3 (51) at 0
::SDL_KEYDOWN scan 40 key
[d]
:: ch1:13 LALT:0

:: added
(13) at 0
::SDL_KEYDOWN scan 40 key
[d]
:: ch1:13 LALT:0

:: added
(13) at 0
::SDL_KEYDOWN scan 40 key
[d]
:: ch1:13 LALT:0

:: added
(13) at 0
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 226 key â [400000e2]
::SDL_KEYDOWN scan 61 key = [4000003d]
codo_exit
cmusic_stop
exit_func
:: typed text:
:: abc123

:: -------------------
codo_config_save
codo_sound_exit
codo_video_exit
codo_joystick_exit
codo_system_exit
codo_items_created: 0
ok

P#17909 2015-12-18 16:50 ( Edited 2015-12-18 21:50)

Great, thanks CKH4! The problem was that, in the first case, the scancode being reported is for the numberic keypad's enter. I will just check for both, and the change will be in 0.1.4.

Incidentally, does your keyboard layout have only the one enter key? Interesting that SDL could report the keypad one if so.

P#17910 2015-12-18 17:22 ( Edited 2015-12-18 22:23)

Yep it only has one enter key, I blame HP though it may be because its a convertible laptop/tablet. Good luck on the fix, cant wait until I am able to use my laptop.

P#17911 2015-12-18 17:36 ( Edited 2015-12-18 22:36)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 22:27:07 | 0.010s | Q:26