News:

SimuTranslator
Make Simutrans speak your language.

Num pad types digits twice

Started by Rollmaterial, December 28, 2020, 12:08:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rollmaterial

Digits typed through the num pad are entered twice, e.g. typing numpad 4 enters "44".

jamespetts

I can confirm this, at least on a Linux platform. I think that this is new since the merge from Standard. Can I check what platform that you are using?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Mariculous

I can confirm this on Linux.
It was introduced with a recent commit, likely the merge from standard.

Rollmaterial


Ranran(retired)

numpad_always_moves_map = 0
Is there the following line in simconf.tab?
Without this (that is, when numpad_always_moves_map = 1), it seems that you can't enter numbers with numpad. I don't know if this is the same behavior as standard.
Introduced in r9298.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

jamespetts

Quote from: Ranran on December 28, 2020, 09:52:00 PMnumpad_always_moves_map = 0

This line is set in the default simuconf.tab:


# If set to 1 (default) the numpad will always move the map.
# If active, this does not allow for number entry
numpad_always_moves_map = 0
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Ranran(retired)

Quote from: jamespetts on December 28, 2020, 09:54:31 PMThis line is set in the default simuconf.tab:
In my environment, when it is 0, numpad will enter the numbers correctly.
If it is 1, the cursor will move or garbled characters will be entered.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)