[Gambas-user] Key.Enter and Key.Return
Dominique Michel
dominique.michel at ...3298...
Fri Feb 14 00:20:13 CET 2014
Le Thu, 13 Feb 2014 19:51:42 +1030,
Bruce <bbruen at ...2308...> a écrit :
> What is the difference here?
>
> Every keyboard I have has an "Enter" key which apparently is a
> Key.Return, so what is Key.Enter? Does it depend on some particular
> keyboard?
On linux, you can run xev to know the key codes and the key syms.
The Return key sym is Return, and the Enter key is KP_Enter.
You also have 2 '*' keys, one is the asterisk, the other is
KP_Multiply. And so on with -, /, +, . and the numbers.
Dominique
>
> Silly question, no. If some users keyboard generates a different code
> how can I tell what key was pressed?
>
> (This has been driving me insane for an hour now. I am probably too
> stressed out to see the simple answer.)
>
> Bruce
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience. Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list