Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13133
| From | Alexey Popkov <lehin.p@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Dynamically updated CurrentValue: I want to know which key is |
| Date | 2013-01-14 05:00 +0000 |
| Message-ID | <kd03e8$6dh$1@smc.vnet.net> (permalink) |
| References | <kcntv9$f8j$1@smc.vnet.net> <kcql13$lrl$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On Saturday, January 12, 2013 7:24:19 AM UTC+4, awnl wrote:
> Hi,
>
>
>
> > Is there a way to get information with CurrentValue of about which key is
>
> > being pressed? CurrentValue only seems to have ways to get mouse buttons
>
> > and modifier key events---which seems odd, I feel like that's going halfway
>
> > with the sort of functionality CurrentValue could provide and I figure I
>
> > must be missing something?
>
>
>
> I think you are looking for "EventKey":
>
>
>
> EventHandler[Graphics@Rectangle[], {
>
> "KeyDown" :> Print[CurrentValue["EventKey"]]
>
> }]
>
>
>
> hth,
>
>
>
> albert
But why not all keys are catched by "EventKey"? For example, pressing "a", "i", "o", "p" etc. does nothing. Why?
Sincerely,
Alexey
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Dynamically updated CurrentValue: I want to know which key is being pressed? Brentt <brenttnewman@gmail.com> - 2013-01-11 02:38 +0000
Re: Dynamically updated CurrentValue: I want to know which key is awnl <awnl@gmx-topmail.de> - 2013-01-12 03:24 +0000
Re: Dynamically updated CurrentValue: I want to know which key is Alexey Popkov <lehin.p@gmail.com> - 2013-01-14 05:00 +0000
Re: Dynamically updated CurrentValue: I want to know which key is awnl <awnl@gmx-topmail.de> - 2013-01-15 04:28 +0000
csiph-web