search for: keypresses

Displaying 20 results from an estimated 261 matches for "keypresses".

2007 Jul 16
4
Problem with keypress event handling
Hi all, we are writing a cross browser Javascript control that enhances the HTML text input element in order to accept only digits (more or less). Supposing that ''domText'' is the DOM element corresponding to the HTML text input, we wrote the following: Event.observe(domText, "keypress", this.onKeyPress.bindAsEventListener(this)); where this.onKeyPress =
2010 Apr 09
2
Problem detecting keypresses in FXTable
I''m using an RXTable in my application and I would like to be able to select a row and then press the Delete key to delete the selected row. This does not seem to work, however, as apparently keypresses are not initially recognized. In my FXTable derived class I have: connect(SEL_KEYRELEASE) do |sender, selector, event| puts "code = #{''%X'' % event.code}" case event.code when KEY_Delete, KEY_KP_Delete puts "Delete key hit"...
2006 Mar 29
2
Drag/Drop and KeyPress
Hi! is it possible to make a drag dependent on a KeyPress event? I couldn''t find any information on that on the script.aculo.us website. My scenario is the following: I have a tree with several nodes (like windows explorer). Right now i use Drag & Drop to move a node below a new parent. Now i want to implement a copy mechanism which allows the user to copy a node through Drag
2006 Aug 13
2
Catching "keypress" event with observe_field
I''m desperately trying to update a div when a key is pressed in a text field. Eg. : <input type="text" id="field"> <div id="area"></div> <%= observe_field :field, :url => {:action => :myAction}, :update => :area, :with => "text_param", :on => ''keypress'' %> This does not seem to work, and I
2009 Mar 25
1
"wine explorer ..." eats CTRL keypresses!
...crash-prone this way. Here is the issue. When I run the game directly through wine without using the 'explorer' command, my keyboard works correctly. However, when I run wine with 'explorer', I can no longer use the CTRL key in-game. The desktop manager (gdm) still catches CTRL keypresses. In addition, key combinations like ALT+F1, which work correctly in game in the former instance, are sent directly to gdm in the latter. How can I make it so that Wine will send the keypresses to Eve first, then onto GDM? My setup: Wine 1.1.17 + model patch (installed using apt-get source wine;...
2006 Mar 13
2
Keypress events with no AJAX needed
Is anyone else finding it frustrating to do in Ruby client-side things that would be simple in Javascript? It seems like all of the "helpers" involve server (controller) communication. For example, having a text field that just echos below what the user types. Is this the only way to do it? <div id=''word_panel''> <%= text_field_tag
2007 Dec 09
5
capturing arrow keypress on IE7 with Prototype 1.6 doesn't work?
Hi! does anyone know a fix for this? in FF and Opera everything is fine, but in IE7 arrow keys are ignored. thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2006 Apr 07
3
Pointer position on keypress event?
Hi. Is there any straightforward way to tell pointer position (x, y) upon keypress? In original wxWidgets, wxKeyEvent supports GetX() and GetY() methods, but wxRuby''s KeyEvent object does not have one. I also checked with event.methods and event.instance_variables. Do I need to keep track of pointer position by evt_motion? -- Taisuke Yamada <tyamadajp@spam.rakugaki.org>,
2005 Jun 21
0
Keypress delay & grouping
...interval. nanosleep() and similar delay functions should be very useful so long as they're not so short as to busywait but instead wait for the system clock. This introduces a variable delay that greatly reduces the information from timing analysis. I believe sshd already can handle multiple keypresses per packet, but I did get one to choke around 1500 after pasting in 10KB. I inserted a usleep() in channel_output_poll() [not the best place but I couldn't get it to work in clientloop.c] and it runs fine for me, but I may need to make the delay a bit smarter. -- Robert
2003 Dec 14
0
outbound dialing / wait for keypress?
hi there. i've got a question about outbound dialing. here's my scenario: 1. i build a list of phone numbers from a database 2. when a call comes in, i begin dialing from the list 3. when an outbound call is answered, i connect the caller to that line. so far, i'm able to do this with an agi script to dynamically build a dialplan. i make repeated use of this perl call:
2008 Jan 16
1
Small doubts with clonePosition, Keypress and this
Hello Guys, I comes to try to clarify some small doubts, I''m trying to create a function that, if I positioned over this, create a box around the cell, but I don''t want to alter values of style, I think that a good way is create a floating table with the same dimensions, to do this, I found "Position": overlap but says it''s obsolete, then I found clonePosition
2012 Sep 06
1
Menu system bug - MENU DEFAULT not working
Hello, I'm reporting a bug, see attached syslinux.cfg I'm using submenu entries to emulate checkbox inputs. The idea is simple, there are submenus generated for all possible cases, and each Enter keypress loads appropriate submenu section. The logic of the menu is correct. Just syslinux has some bug. It doesn't set MENU DEFAULT properly for all submenus. If your first Enter keypress
2008 Feb 29
1
Getting Keypressed State in rgl
Dear Rglers, when using a callback in rgl (Windows, if it matters) http://finzi.psych.upenn.edu/R/library/rgl/html/callbacks.html I would like to get the Asynchronous keyboard status (as least Shift/Control, but preferably other key) to set markers in a plot. getGraphicsEvents seems to be limited to normal graphics windows. Dieter
2007 May 29
0
Play sound file on keypress (bridged call)
Hey People, Sorry if this has been covered before but for the life of me I couldn't find the answer. So if someone could just point me in the right direction that would be greatly appreciated. Is it possible to set up in the dial plan to assign keypad numbers a sound file on a bridge call. I know that you can do it if the user just rings into the dial plan but was wondering if anyone
2007 Oct 24
0
Two DTMF tones on keypress with Handsfree cell
Hello, I am using Asterisk SVN, a cellular phone, and chan_mobile to run a small home PBX with two analog telephones connected to a Linksys ATA using SIP. It works great (except for some Bluetooth adapter bugs that I am still trying to beat...seems the misaligned audio detection still needs work), but I have encountered an interesting issue. If I am using an automated system that accepts input
2006 Jan 27
0
RE: [prototype] [BUG] Event.stop doesn''t stop allkeystrokes on some browsers
> a little more digging into this and it appears it''s that different > browsers > handle the keypress at different times (from what I can see, there are 3 > events triggered when you press a key, keydown, keypress, and keyup). I > changed line 1531 to ''keypress'' from keydown and on all of the browsers I > tested (safari, opera, konqueror) it appeared to
2004 Sep 22
1
7960 SIP 7.2 keypress (not DTMF) problem
Since upgrading to 7.2, I've noticed a random problem where I dial a number and hear all the correct tones in the handset, but the display won't show all the numbers I dialed. So you sit there waiting for the dialplan to kick the call off (b/c you heard the proper amount of tones played and think it's all good) but the phone is just sitting there b/c it somehow "missed"
2005 Sep 01
1
How to require a keypress on answer?
[apologies if this comes through twice - the original doesn't seem to have shown up even after 16 hours] In the handling of agents, when using AgentCallbackLogin, a call placed to an agent needs to be accepted by the agent pressing the '#' key. I'm trying to replicate that kind of operation in a non-agent scenario: I want to call Dial() from my dialplan, play an announcement to
2008 Jul 23
3
Trouble Playing message file via Perl AGI
...aving trouble getting my program to play a message and wait for a keystroke. I am able to use this code to play the file, so I know that the $msg variable points to a valid sound file: $result = $agi->exec("background $msg"); But of course, this doesn't allow me to capture any keypresses. So I tried this: $agi->stream_file($msg, "0123456789", 0); The console indicates that it's playing the message, but it then skips to the next AGI instruction and nothing gets played. Then I tried to use the get_data() method. It turns out that I had to put two of them in m...
2016 Jul 25
2
getGraphicsEvent() alternative for cairo graphics device?
Hi all, I'm writing an interactive plotting function for viewing fMRI datasets. Currently, I get keypresses using grDevices::getGraphicsEvent(). Unfortunately getGraphicsEvent() only supports the X11(type="Xlib") graphics device on Unix systems. The Xlib device doesn't support buffering (i.e. dev.hold() and dev.flush()), so redrawing the plots causes lots of flickering. Is there a way to...