Techmino icon indicating copy to clipboard operation
Techmino copied to clipboard

Pressing NumpadEnter on console or chat doesn't do anything

Open Not-A-Normal-Robot opened this issue 4 years ago • 6 comments

  1. Go to console
  2. Type a command
  3. Press the Enter key on the numpad
  4. Nothing happens

This also happens on chat

Not-A-Normal-Robot avatar Aug 27 '21 00:08 Not-A-Normal-Robot

Try to press the numpadEnter at test scene (type test in the cosole) then take a screenshot?

MrZ626 avatar Aug 27 '21 10:08 MrZ626

Try to press the numpadEnter at test scene (type test in the cosole) then take a screenshot?

Recognizable image

shoucandanghehe avatar Aug 27 '21 10:08 shoucandanghehe

The keys on the numpad are counted as different, so you need to account for them.

Trebor-Huang avatar Aug 27 '21 10:08 Trebor-Huang

Yes, exactly

Not-A-Normal-Robot avatar Aug 27 '21 14:08 Not-A-Normal-Robot

Should be pretty easy to fix: /parts/scenes/app_console.lua:

function scene.keyDown(key)
   if key=="return"then
      ...
   end
      
      
function scene.keyDown(key)
   if key=="return" or key=="kpenter" then
      ...
   end

Not-A-Normal-Robot avatar Oct 18 '21 00:10 Not-A-Normal-Robot

https://github.com/26F-Studio/Techmino/issues/745#issuecomment-1235978547

Not-A-Normal-Robot avatar Sep 03 '22 17:09 Not-A-Normal-Robot