Keyboard Input Sans Keyboard

I'm looking for the most simple program that will let me do keyboard input from a bash script.  (or if library I can write a quick script with). Being able to move the mouse as well is also desired, or a seperate program/library for that.
Thanks.
Last edited by Mardoct (2010-06-12 21:14:16)

Im not sure what you want? Do you want to simulate keypresses in an X environment?

Similar Messages

  • Pro Res format in camcorders?

    anyone think the camcorder companies will put this in their products? could the pro res format be the future HD format for consumer cameras?

    That's right. Take a deap breath. There's a lot to learn in this release of FCS.
    Here's my highlight summary of what I've learned.
    The most interesting geek tech is the new codec. Pro Res 4:2:2 they call it... it's looking good. Variable 1 and 2 pass bit rate. Comes in two flavors too. shrinks uncompressed HD to about 1/6th the size. Apple says it's visually lossless. Intraframe.
    It's media looks lossless from what was displayed by Apple at NAB to me... wow.
    and it's about the same size as uncompressed NTSC. lt will play from self powered FW dual mini drives.
    Let me say it agin... looks lossless from the demos I saw at NAB. It's the biggest news of all actually for our pocket books. no more fast of the fastest expensive arrays? Are the day's gone? Maybe.. maybe not in some cases. jury has to stay out on that one. The Pro Res Codec was still unfinished, but it looks good enough to lick. man. ain't tech great?
    The 3D in Motion is extremely elegant. It's a great UI in which I never got lost... cool. Round tripping with the new template stuff and FCP is nice too. New particles, new all sorts Motion 3 has come of age.
    AJA thinks enough of the codec to create IO HD with it. The HD box uses it thru FW 800. (it's completely native in all formats too if you like) I was the demo artist for it on the show floor much of the time. My feet are three times their normal size and I have no voice now.
    I must have spoken to literally thousands about this box. HD THRU FIREWIRE it' cross converts all forms of video to any other form Up, down, cross convert HD between 720 and 1080i etc... has analog and digital inputs sans firewire (you already have that) Accepts external timecode so you can record the TC from recording cameras and get media files that match the tape by the end of the shoot.
    Then FCP also works in mixed formats and EVEN FRAME RATES guys... wow. There's a lot more there too to gander on.
    We had it hooked up to a MBP running media from a dual sata array attached with the express card adapter. This is enough setup to work in the new codec in HD sourced, or even SD sourced... It's an intraframe codec for you super geeks.
    It was best of show at NAB Viddy award winner too. It's a hit guys. HD from external SATA... yeah. cheap storage for it. Yeah. my o my...
    This means..
    for well under 10k you're doing HD on a MBP... has to be one of those, no power PC support. It's an intel mac only box.
    Jerry

  • Broken laptop input mouse & keyboard [xps15z] [post Syu]

    Problems:
    -laptop's (dell xps 15z) keyboard and mouse not working
    -X broken
    I am really stumped here and looking for any help / direction. I am running out of questions to ask, and would appreciate any feedback.
    What I have tried:
    -creating a new modprobe.conf,
    -merging rc.conf.pacnew,
    -downgrading to my previous udev, mkinitcpio, and module-init-tools, using the packages found in cache. remade init with
    mkinitcpio -p linux
    and keyboard and mouse still did not work
    -merged locale.conf.pacnew
    -merged pacman.conf.pacnew
    -traversed almost all of the logs multiple times (have not found a silver bullet, but not positive on what Im looking for..)
    Below I have included some notes, my relevant (dates) pacman.log, and what I pulled from dmesg that seemed related to me.
    //notes
    -usb ports work
    -when i hit keys on the keyboard while at the console username prompt, nothing types, but if laptop is a dark place, the keys back-lights actually do light up...
    -every other boot I get stuck on MUX error (error has been there since I installed arch, but only now does it freeze occasionally here)
    [ 5.627516] [drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
    [ 5.627613] [drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
    -the update that broke stuff I set up my pacman key config
    [2012-01-20 05:14] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
    [2012-01-20 05:14] >>> Run `pacman-key --init` to set up your pacman keyring.
    [2012-01-20 05:14] upgraded pacman (3.5.4-4 -> 4.0.1-4)
    -also had to force the filesystem
    [2012-01-20 06:01] Running 'pacman -S --force filesystem'
    [2012-01-20 06:01] upgraded filesystem (2011.10-1 -> 2011.12-2)
    //dmesg findings
    [ 1.034772] mousedev: PS/2 mouse device common for all mice
    [ 1.045355] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [ 6.172182] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input8
    [ 42.447721] input: Dell Dell USB Keyboard as /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb2/2-1/2-1:1.0/input/input15
    [ 42.447801] generic-usb 0003:413C:2003.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:04:00.0-1/input0
    [ 42.447811] usbcore: registered new interface driver usbhid
    [ 42.447812] usbhid: USB HID core driver
    //pacman.log
    [2012-01-20 05:13] Running 'pacman -Syu'
    [2012-01-20 05:13] synchronizing package lists
    [2012-01-20 05:14] upgraded linux-api-headers (3.1.4-1 -> 3.1.6-1)
    [2012-01-20 05:14] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
    [2012-01-20 05:14] Generating locales...
    [2012-01-20 05:14] en_US.UTF-8... done
    [2012-01-20 05:14] en_US.ISO-8859-1... done
    [2012-01-20 05:14] Generation complete.
    [2012-01-20 05:14] upgraded glibc (2.14.1-2 -> 2.15-3)
    [2012-01-20 05:14] upgraded libarchive (2.8.5-2 -> 3.0.3-2)
    [2012-01-20 05:14] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
    [2012-01-20 05:14] >>> Run `pacman-key --init` to set up your pacman keyring.
    [2012-01-20 05:14] upgraded pacman (3.5.4-4 -> 4.0.1-4)
    [2012-01-20 05:16] Running 'pacman -Syu'
    [2012-01-20 05:16] synchronizing package lists
    [2012-01-20 05:16] starting full system upgrade
    [2012-01-20 05:16] Running 'pacman -Syu'
    [2012-01-20 05:16] synchronizing package lists
    [2012-01-20 05:16] starting full system upgrade
    [2012-01-20 05:22] Running 'pacman -Rdd gcc-multilib gcc-libs-multilib'
    [2012-01-20 05:22] Running 'pacman -S gcc-multilib'
    [2012-01-20 05:24] Running 'pacman -Syu'
    [2012-01-20 05:24] synchronizing package lists
    [2012-01-20 05:24] starting full system upgrade
    [2012-01-20 05:25] Running 'pacman -S gcc-libs'
    [2012-01-20 05:27] Running 'pacman -S gcc-objc-multilib'
    [2012-01-20 05:37] Running 'pacman -Syu'
    [2012-01-20 05:37] synchronizing package lists
    [2012-01-20 05:37] starting full system upgrade
    [2012-01-20 05:55] Running 'pacman -Syu'
    [2012-01-20 05:55] synchronizing package lists
    [2012-01-20 05:56] starting full system upgrade
    [2012-01-20 06:01] Running 'pacman -S --force filesystem'
    [2012-01-20 06:01] upgraded filesystem (2011.10-1 -> 2011.12-2)
    [2012-01-20 06:01] Running 'pacman -Syu'
    [2012-01-20 06:01] synchronizing package lists
    [2012-01-20 06:01] starting full system upgrade
    [2012-01-20 06:02] removed gcc-libs-multilib (4.6.2-3)
    [2012-01-20 06:02] installed gcc-libs (4.6.2-5)
    [2012-01-20 06:02] upgraded db (5.2.36-2 -> 5.3.15-1)
    [2012-01-20 06:02] upgraded pam (1.1.5-1 -> 1.1.5-2)
    [2012-01-20 06:02] upgraded coreutils (8.14-1 -> 8.15-1)
    [2012-01-20 06:02] upgraded perl (5.14.2-4 -> 5.14.2-7)
    [2012-01-20 06:02] upgraded openssl (1.0.0.e-1 -> 1.0.0.g-1)
    [2012-01-20 06:02] upgraded libsasl (2.1.23-8 -> 2.1.23-9)
    [2012-01-20 06:02] upgraded libldap (2.4.26-5 -> 2.4.28-2)
    [2012-01-20 06:02] upgraded unixodbc (2.3.0-2 -> 2.3.1-1)
    [2012-01-20 06:02] upgraded apr-util (1.3.12-3 -> 1.3.12-5)
    [2012-01-20 06:02] upgraded at-spi2-core (2.2.1-1 -> 2.2.3-1)
    [2012-01-20 06:02] upgraded at-spi2-atk (2.2.1-1 -> 2.2.2-1)
    [2012-01-20 06:02] upgraded ca-certificates (20111025-2 -> 20111211-1)
    [2012-01-20 06:02] upgraded libxi (1.4.3-1 -> 1.4.5-1)
    [2012-01-20 06:02] upgraded desktop-file-utils (0.18-1 -> 0.19-1)
    [2012-01-20 06:02] upgraded qt (4.7.4-3 -> 4.8.0-2)
    [2012-01-20 06:02] upgraded attica (0.2.9-1 -> 0.3.0-1)
    [2012-01-20 06:02] upgraded automake (1.11.1-3 -> 1.11.2-1)
    [2012-01-20 06:02] upgraded binutils (2.22-2 -> 2.22-4)
    [2012-01-20 06:02] upgraded bluez (4.96-1 -> 4.98-1)
    [2012-01-20 06:02] upgraded cifs-utils (4.9-3 -> 5.2-1)
    [2012-01-20 06:02] upgraded clutter-gst (1.4.4-1 -> 1.4.6-1)
    [2012-01-20 06:02] upgraded lcms2 (2.2-1 -> 2.3-1)
    [2012-01-20 06:02] upgraded colord (0.1.15-3 -> 0.1.16-1)
    [2012-01-20 06:02] upgraded consolekit (0.4.5-1 -> 0.4.5-2)
    [2012-01-20 06:02] upgraded cryptsetup (1.4.0-2 -> 1.4.1-1)
    [2012-01-20 06:02] upgraded nss (3.12.11-3 -> 3.13.1-2)
    [2012-01-20 06:02] upgraded evolution-data-server (3.2.2-1 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded gtk3 (3.2.2-4 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded gtkhtml4 (4.2.2-1 -> 4.2.3-1)
    [2012-01-20 06:03] upgraded evolution (3.2.2-1 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded file (5.09-1 -> 5.10-1)
    [2012-01-20 06:03] upgraded firefox (8.0.1-1 -> 9.0.1-1)
    [2012-01-20 06:03] upgraded telepathy-glib (0.16.3-1 -> 0.16.4-1)
    [2012-01-20 06:03] upgraded folks (0.6.5-1 -> 0.6.6-1)
    [2012-01-20 06:03] upgraded gcc (4.6.2-3 -> 4.6.2-5)
    [2012-01-20 06:03] upgraded libjpeg-turbo (1.1.1-3 -> 1.1.1-4)
    [2012-01-20 06:03] upgraded gdk-pixbuf2 (2.24.0-1 -> 2.24.1-1)
    [2012-01-20 06:03] upgraded gtksourceview3 (3.2.3-1 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded pygobject-devel (3.0.2-1 -> 3.0.3-1)
    [2012-01-20 06:03] upgraded python2-gobject (3.0.2-1 -> 3.0.3-1)
    [2012-01-20 06:03] upgraded gedit (3.2.5-1 -> 3.2.6-1)
    [2012-01-20 06:03] upgraded git (1.7.8-1 -> 1.7.8.4-1)
    [2012-01-20 06:03] upgraded gjs (1.30.0-1 -> 1.30.1-1)
    [2012-01-20 06:03] upgraded gnutls (3.0.8-1 -> 3.0.11-1)
    [2012-01-20 06:03] upgraded glib-networking (2.30.1-1 -> 2.30.2-1)
    [2012-01-20 06:03] upgraded gpgme (1.3.1-1 -> 1.3.1-2)
    [2012-01-20 06:03] upgraded gmime (2.4.28-1 -> 2.6.4-1)
    [2012-01-20 06:03] upgraded gnome-color-manager (3.2.1-2 -> 3.2.2-1)
    [2012-01-20 06:03] upgraded gnome-icon-theme-symbolic (3.2.1-1 -> 3.2.2-1)
    [2012-01-20 06:03] upgraded gnome-keyring (3.2.2-1 -> 3.2.2-3)
    [2012-01-20 06:03] upgraded whois (5.0.13-1 -> 5.0.14-1)
    [2012-01-20 06:03] upgraded gnome-nettool (3.0.0-1 -> 3.0.1-1)
    [2012-01-20 06:04] upgraded mutter (3.2.1-1 -> 3.2.2-1)
    [2012-01-20 06:04] upgraded libpulse (1.1-1 -> 1.1-2)
    [2012-01-20 06:04] upgraded gnome-shell (3.2.1-1 -> 3.2.2.1-1)
    [2012-01-20 06:04] upgraded gvfs (1.10.1-1 -> 1.10.1-2)
    [2012-01-20 06:04] upgraded gvfs-obexftp (1.10.1-1 -> 1.10.1-2)
    [2012-01-20 06:04] upgraded vim-runtime (7.3.353-2 -> 7.3.401-1)
    [2012-01-20 06:04] upgraded ruby (1.9.3_p0-2 -> 1.9.3_p0-3)
    [2012-01-20 06:04] upgraded gvim (7.3.353-2 -> 7.3.401-1)
    [2012-01-20 06:04] upgraded hdparm (9.37-2 -> 9.38-1)
    [2012-01-20 06:04] upgraded inetutils (1.8-6 -> 1.9.1-1)
    [2012-01-20 06:04] upgraded iproute2 (2.6.39-2 -> 3.2.0-1)
    [2012-01-20 06:04] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
    [2012-01-20 06:04] upgraded initscripts (2011.11.3-1 -> 2012.01.2-1)
    [2012-01-20 06:04] upgraded jack (0.121.3-4 -> 0.121.3-5)
    [2012-01-20 06:04] installed rhino (1.7R3-1)
    [2012-01-20 06:04] installed jre7-openjdk-headless (7.b147_2.0-5)
    [2012-01-20 06:04] upgraded jre7-openjdk (7.b147_2.0-2 -> 7.b147_2.0-5)
    [2012-01-20 06:04] upgraded jdk7-openjdk (7.b147_2.0-2 -> 7.b147_2.0-5)
    [2012-01-20 06:04] upgraded redland (1:1.0.15-1 -> 1:1.0.15-3)
    [2012-01-20 06:04] upgraded redland-storage-virtuoso (1:1.0.15-1 -> 1:1.0.15-3)
    [2012-01-20 06:04] upgraded soprano (2.7.3-1 -> 2.7.4-1)
    [2012-01-20 06:04] upgraded libdbusmenu-qt (0.9.0-1 -> 0.9.0-2)
    [2012-01-20 06:04] upgraded polkit-qt (0.99.0-1 -> 0.103.0-1)
    [2012-01-20 06:04] upgraded phonon (1:4.5.1-2 -> 1:4.6.0-1)
    [2012-01-20 06:04] installed gperf (3.0.4-4)
    [2012-01-20 06:04] installed qtwebkit (2.2.1-2)
    [2012-01-20 06:04] upgraded kdelibs (4.7.4-1 -> 4.7.4-5)
    [2012-01-20 06:04] upgraded libassuan (2.0.2-1 -> 2.0.3-1)
    [2012-01-20 06:04] upgraded libdrm (2.4.28-1 -> 2.4.30-1)
    [2012-01-20 06:04] upgraded libgphoto2 (2.4.10.1-2 -> 2.4.11-1)
    [2012-01-20 06:04] upgraded libgsf (1.14.21-1 -> 1.14.22-2)
    [2012-01-20 06:04] upgraded libmysqlclient (5.5.19-1 -> 5.5.20-1)
    [2012-01-20 06:04] upgraded liboauth (0.9.4-2 -> 0.9.6-1)
    [2012-01-20 06:04] upgraded libpcap (1.1.1-4 -> 1.2.1-1)
    [2012-01-20 06:04] upgraded libreoffice-en-US (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-common (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-base (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-calc (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-draw (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-gnome (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-impress (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-kde4 (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-math (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-sdk (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-sdk-doc (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-writer (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded util-linux (2.20.1-1 -> 2.20.1-2)
    [2012-01-20 06:04] upgraded libtracker-sparql (0.12.8-1 -> 0.12.9-1)
    [2012-01-20 06:04] >>> Updating module dependencies. Please wait ...
    [2012-01-20 06:04] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-01-20 06:04] ==> Building image from preset: 'default'
    [2012-01-20 06:04] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-01-20 06:04] ==> Starting build: 3.2.1-1-ARCH
    [2012-01-20 06:04] -> Parsing hook: [base]
    [2012-01-20 06:04] -> Parsing hook: [udev]
    [2012-01-20 06:04] -> Parsing hook: [autodetect]
    [2012-01-20 06:05] -> Parsing hook: [pata]
    [2012-01-20 06:05] -> Parsing hook: [scsi]
    [2012-01-20 06:05] -> Parsing hook: [sata]
    [2012-01-20 06:05] -> Parsing hook: [filesystems]
    [2012-01-20 06:05] -> Parsing hook: [usbinput]
    [2012-01-20 06:05] ==> Generating module dependencies
    [2012-01-20 06:05] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-01-20 06:05] ==> Image generation successful
    [2012-01-20 06:05] ==> Building image from preset: 'fallback'
    [2012-01-20 06:05] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-01-20 06:05] ==> Starting build: 3.2.1-1-ARCH
    [2012-01-20 06:05] -> Parsing hook: [base]
    [2012-01-20 06:05] -> Parsing hook: [udev]
    [2012-01-20 06:05] -> Parsing hook: [pata]
    [2012-01-20 06:05] -> Parsing hook: [scsi]
    [2012-01-20 06:05] -> Parsing hook: [sata]
    [2012-01-20 06:05] -> Parsing hook: [filesystems]
    [2012-01-20 06:05] -> Parsing hook: [usbinput]
    [2012-01-20 06:05] ==> Generating module dependencies
    [2012-01-20 06:05] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-01-20 06:05] ==> Image generation successful
    [2012-01-20 06:05] upgraded linux (3.1.5-1 -> 3.2.1-1)
    [2012-01-20 06:05] upgraded linux-docs (3.1.5-1 -> 3.2.1-1)
    [2012-01-20 06:05] upgraded linux-headers (3.1.5-1 -> 3.2.1-1)
    [2012-01-20 06:05] upgraded mono (2.10.6-1 -> 2.10.8-1)
    [2012-01-20 06:05] upgraded mysql-clients (5.5.19-1 -> 5.5.20-1)
    [2012-01-20 06:05] upgraded mysql (5.5.19-1 -> 5.5.20-1)
    [2012-01-20 06:05] upgraded obexd-client (0.42-1 -> 0.44-1)
    [2012-01-20 06:05] upgraded php (5.3.8-5 -> 5.3.9-1)
    [2012-01-20 06:05] upgraded php-apache (5.3.8-5 -> 5.3.9-1)
    [2012-01-20 06:05] upgraded poppler (0.18.1-1 -> 0.18.2-1)
    [2012-01-20 06:05] upgraded poppler-glib (0.18.1-1 -> 0.18.2-1)
    [2012-01-20 06:05] upgraded pulseaudio (1.1-1 -> 1.1-2)
    [2012-01-20 06:05] upgraded rpcbind (0.2.0-5 -> 0.2.0-6)
    [2012-01-20 06:05] upgraded sdl (1.2.14-9 -> 1.2.14-10)
    [2012-01-20 06:05] upgraded sdl_image (1.2.10-2 -> 1.2.11-1)
    [2012-01-20 06:05] upgraded sdl_ttf (2.0.10-1 -> 2.0.11-1)
    [2012-01-20 06:05] upgraded subversion (1.7.2-1 -> 1.7.2-2)
    [2012-01-20 06:05] upgraded thunderbird (8.0-1 -> 9.0.1-1)
    [2012-01-20 06:05] upgraded totem-plparser (2.32.6-1 -> 2.32.6-3)
    [2012-01-20 06:05] upgraded tracker (0.12.8-1 -> 0.12.9-1)
    [2012-01-20 06:05] upgraded wavpack (4.60.1-1 -> 4.60.1-2)
    [2012-01-20 06:05] upgraded xf86-video-nouveau (0.0.16_git20110829-1 -> 0.0.16_git20120106-1)
    [2012-01-20 06:05] upgraded xkeyboard-config (2.4.1-2 -> 2.4.1-3)
    [2012-01-20 06:05] upgraded xorg-server-common (1.11.2-2 -> 1.11.3-1)
    [2012-01-20 06:05] upgraded xorg-server (1.11.2-2 -> 1.11.3-1)
    [2012-01-20 06:05] upgraded xorg-xinit (1.3.1-1 -> 1.3.1-2)
    [2012-01-20 06:05] upgraded xterm (275-1 -> 276-1)
    [2012-01-20 06:06] Running 'pacman -Syu'
    [2012-01-20 06:06] synchronizing package lists
    [2012-01-20 06:06] starting full system upgrade
    [2012-01-23 04:20] Running 'pacman -Syu'
    [2012-01-23 04:20] synchronizing package lists
    [2012-01-23 04:20] starting full system upgrade
    [2012-01-23 04:20] Running 'pacman -Syu'
    [2012-01-23 04:20] synchronizing package lists
    [2012-01-23 04:20] starting full system upgrade
    [2012-01-23 04:21] removed module-init-tools (3.16-3)
    [2012-01-23 04:21] upgraded dbus-sharp (0.7.0-3 -> 0.7.0-4)
    [2012-01-23 04:21] upgraded dbus-sharp-glib (0.5.0-3 -> 0.5.0-4)
    [2012-01-23 04:21] upgraded gnutls (3.0.11-1 -> 3.0.12-1)
    [2012-01-23 04:21] upgraded gstreamer0.10-python (0.10.21-1 -> 0.10.22-1)
    [2012-01-23 04:21] installed kmod (4-1)
    [2012-01-23 04:21] upgraded udev (175-1 -> 178-1)
    [2012-01-23 04:21] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
    [2012-01-23 04:21] upgraded initscripts (2012.01.2-1 -> 2012.01.3-1)
    [2012-01-23 04:21] upgraded libgee (0.6.3-1 -> 0.6.4-1)
    [2012-01-23 04:21] upgraded mdadm (3.2.2-4 -> 3.2.3-1)
    [2012-01-23 04:21] upgraded mkinitcpio (0.8.0-3 -> 0.8.2-1)
    [2012-01-23 04:21] upgraded pixman (0.24.0-1 -> 0.24.2-1)
    [2012-01-23 04:21] upgraded poppler (0.18.2-1 -> 0.18.3-1)
    [2012-01-23 04:21] upgraded poppler-glib (0.18.2-1 -> 0.18.3-1)
    [2012-01-23 04:21] upgraded sdl_image (1.2.11-1 -> 1.2.12-1)
    [2012-01-23 04:21] upgraded sg3_utils (1.30-1 -> 1.33-1)
    [2012-01-23 04:21] upgraded sqlite3 (3.7.9-1 -> 3.7.10-1)
    [2012-01-23 04:21] upgraded xkeyboard-config (2.4.1-3 -> 2.5-1)
    [2012-01-23 04:21] upgraded xterm (276-1 -> 278-1)
    EDIT: SO NOW x won't even make it as far as it did before (to at least let me see the wallpaper) and eventually goes to a 'something went wrong' screen and I have to shutdown as I don't have a mouse to select Log Out.
    //xorg.log
    [ 31.490] (**) Option "xkb_rules" "evdev"
    [ 31.490] (**) Option "xkb_model" "evdev"
    [ 31.490] (**) Option "xkb_layout" "us"
    [ 31.490] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 31.490] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 31.490] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 31.490] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 31.490] (**) AT Translated Set 2 keyboard: always reports core events
    [ 31.490] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 31.490] (--) AT Translated Set 2 keyboard: Found keys
    [ 31.490] (II) AT Translated Set 2 keyboard: Configuring as keyboard
    [ 31.490] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 31.490] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
    [ 31.491] (**) Option "xkb_rules" "evdev"
    [ 31.491] (**) Option "xkb_model" "evdev"
    [ 31.491] (**) Option "xkb_layout" "us"
    [ 31.491] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event9)
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
    [ 31.491] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'
    [ 31.491] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: always reports core events
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event9"
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found relative axes
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found x and y relative axes
    [ 31.491] (II) ImPS/2 Generic Wheel Mouse: Configuring as mouse
    [ 31.491] (II) ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 31.491] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event9"
    [ 31.491] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 14)
    [ 31.491] (II) ImPS/2 Generic Wheel Mouse: initialized for relative axes.
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
    [ 31.491] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
    [ 31.491] (II) No input driver/identifier specified (ignoring)
    [ 31.491] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
    [ 31.491] (II) No input driver/identifier specified (ignoring)
    [ 31.492] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event8)
    [ 31.492] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
    [ 31.492] (II) Using input driver 'evdev' for 'Dell WMI hotkeys'
    [ 31.492] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 31.492] (**) Dell WMI hotkeys: always reports core events
    [ 31.492] (**) Dell WMI hotkeys: Device: "/dev/input/event8"
    [ 31.492] (--) Dell WMI hotkeys: Found keys
    [ 31.492] (II) Dell WMI hotkeys: Configuring as keyboard
    [ 31.492] (**) Option "config_info" "udev:/sys/devices/virtual/input/input8/event8"
    [ 31.492] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 15)
    [ 31.492] (**) Option "xkb_rules" "evdev"
    [ 31.492] (**) Option "xkb_model" "evdev"
    [ 31.492] (**) Option "xkb_layout" "us"
    [ 34.195] (II) intel(0): EDID vendor "AUO", prod id 12525
    [ 34.195] (II) intel(0): Printing DDC gathered Modelines:
    [ 34.195] (II) intel(0): Modeline "1920x1080"x0.0 140.00 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (65.3 kHz)
    [ 34.195] (II) intel(0): Modeline "1920x1080"x0.0 93.33 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (43.5 kHz)
    [ 34.531] (II) intel(0): EDID vendor "AUO", prod id 12525
    [ 34.531] (II) intel(0): Printing DDC gathered Modelines:
    [ 34.531] (II) intel(0): Modeline "1920x1080"x0.0 140.00 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (65.3 kHz)
    [ 34.531] (II) intel(0): Modeline "1920x1080"x0.0 93.33 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (43.5 kHz)
    [ 66.265] (II) intel(0): EDID vendor "AUO", prod id 12525
    [ 66.265] (II) intel(0): Printing DDC gathered Modelines:
    [ 66.265] (II) intel(0): Modeline "1920x1080"x0.0 140.00 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (65.3 kHz)
    [ 66.265] (II) intel(0): Modeline "1920x1080"x0.0 93.33 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (43.5 kHz)
    EDIT: FOUND this bug: https://bugs.archlinux.org/task/28049 - realize I may really be fishing here..
    //udev test
    # line below is from dmesg
    [ 1.068340] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    run_command: calling: test
    adm_test: version 178
    builtin_kmod_init: load module index
    add_matching_files: unable to open '/run/udev/rules.d': No such file or directory
    parse_file: reading '/lib/udev/rules.d/10-dm.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/11-dm-lvm.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/13-dm-disk.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/40-gphoto.rules' as rules file
    add_rule: IMPORT found builtin 'usb_id --export %p', replacing /lib/udev/rules.d/40-gphoto.rules:11
    parse_file: reading '/lib/udev/rules.d/40-hpet-permissions.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/42-qemu-usb.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/50-udev-default.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/53-sane.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-cdrom_id.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-pcmcia.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-alsa.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-input.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-serial.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-storage-tape.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-storage.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-v4l.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/61-accelerometer.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/64-md-raid.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/69-cd-sensors.rules' as rules file
    add_rule: IMPORT found builtin 'usb_id --export %p', replacing /lib/udev/rules.d/69-cd-sensors.rules:76
    add_rule: IMPORT found builtin 'usb-db %p', replacing /lib/udev/rules.d/69-cd-sensors.rules:77
    parse_file: reading '/lib/udev/rules.d/70-infrared.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/70-udev-acl.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/75-net-description.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/75-probe_mtd.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/75-tty-description.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/77-nm-olpc-mesh.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/78-sound-card.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/80-drivers.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/80-udisks.rules' as rules file
    add_rule: IMPORT found builtin 'pci-db %p', replacing /lib/udev/rules.d/80-udisks.rules:6
    parse_file: reading '/lib/udev/rules.d/85-usbmuxd.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/90-pulseaudio.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-cd-devices.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-dm-notify.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-keyboard-force-release.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-keymap.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-udev-late.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-dell.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-gateway.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-ibm.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-lenovo.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-toshiba.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-csr.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-hid.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-wup.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/97-bluetooth-hid2hci.rules' as rules file
    udev_rules_new: rules use 188232 bytes tokens (15686 * 12 bytes), 27728 bytes buffer
    udev_rules_new: temporary index used 50920 bytes (2546 * 20 bytes)
    udev_device_new_from_syspath: device 0x1a25700 has devpath '/devices/platform/i8042/serio0/input/input0'
    udev_device_new_from_syspath: device 0x1a34d60 has devpath '/devices/platform/i8042/serio0/input/input0'
    udev_device_read_db: device 0x1a34d60 filled with db file data
    udev_rules_apply_to_event: IMPORT builtin 'input_id' /lib/udev/rules.d/50-udev-default.rules:23
    udev_builtin_add_property: ID_INPUT=1
    get_cap_mask: capabilities/ev raw kernel attribute: 120013
    get_cap_mask: capabilities/abs raw kernel attribute: 0
    get_cap_mask: capabilities/rel raw kernel attribute: 0
    get_cap_mask: capabilities/key raw kernel attribute: 402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
    test_key: test_key: checking bit block 0 for any keys; found=1
    test_key: test_key: checking bit block 64 for any keys; found=1
    test_key: test_key: checking bit block 128 for any keys; found=1
    test_key: test_key: checking bit block 192 for any keys; found=1
    udev_builtin_add_property: ID_INPUT_KEY=1
    udev_builtin_add_property: ID_INPUT_KEYBOARD=1
    udev_device_new_from_syspath: device 0x1a361d0 has devpath '/devices/platform/i8042/serio0'
    udev_device_new_from_syspath: device 0x1a36740 has devpath '/devices/platform/i8042'
    udev_device_new_from_syspath: device 0x1a36d00 has devpath '/devices/platform'
    udev_rules_apply_to_event: IMPORT builtin 'path_id' /lib/udev/rules.d/60-persistent-input.rules:31
    udev_builtin_add_property: ID_PATH=platform-i8042-serio-0
    udev_builtin_add_property: ID_PATH_TAG=platform-i8042-serio-0
    udev_rules_apply_to_event: IMPORT builtin 'kmod' /lib/udev/rules.d/80-drivers.rules:5
    builtin_kmod: execute 'load' 'input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw'
    load_module: inserted 'evdev'
    udev_device_update_db: created db file '/run/udev/data/+input:input0' for '/devices/platform/i8042/serio0/input/input0'
    builtin_kmod_exit: unload module index
    This program is for debugging only, it does not run any program,
    specified by a RUN key. It may show incorrect results, because
    some values may be different, or not available at a simulation run.
    .INPUT_CLASS=kbd
    ACTION=add
    DEVPATH=/devices/platform/i8042/serio0/input/input0
    EV=120013
    ID_INPUT=1
    ID_INPUT_KEY=1
    ID_INPUT_KEYBOARD=1
    ID_PATH=platform-i8042-serio-0
    ID_PATH_TAG=platform-i8042-serio-0
    ID_SERIAL=noserial
    KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
    LED=7
    MODALIAS=input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
    MSC=10
    NAME="AT Translated Set 2 keyboard"
    PHYS="isa0060/serio0/input0"
    PRODUCT=11/1/1/ab41
    PROP=0
    SUBSYSTEM=input
    UDEV_LOG=6
    USEC_INITIALIZED=5011892
    Last edited by killnine (2012-01-25 14:39:33)

    I'm glad that fixed your keyboard.
    Good idea about the wiki page. If/when I have time I will add something. Feel free to do so if you have some.
    I've not had the computer for long, however the core install boots and works fine, but after updating the keyboard and mouse become unresponsive, so unfortunately from my perspective, one of the updates in the past 4 or 5 months broke it! However, though I've not tried any combinations of boot parameters, the vast majority of live CDs won't even boot without acpi=off (or presumably, only acpi=noirq is actually needed, looking at your tests) so it doesn't look to be Arch specific.
    For your X problems, are you using a DE or WM, and how are you logging in? If you can disable the login manager (if present) and start an X session with startx, with say only exec xterm in your ~/.xinitrc that might help pinpoint the issue. If that works, it will unlikely be an X issue, more one of your DE/WM.

  • I need to get Keyboard input as well as mouse input on a JButton

    I need to get Keyboard input as well as mouse input on a JButton
    I have attempted to implement KeyListener. I get the keyCode but I need it to go in to the same String variable as my Actionlistener section.

    Here is the code I have trouble with getting keyboard input as wells as mouse input into the same variable.
    public class Calctester extends JFrame
    implements ActionListener, KeyListener
    private double var1, var2;//var1 and var2 are used to perform calculation
    String operand1 = "";//takes first input until an operator is pressed
    String operand2 = "";//takes input after operator is invoked
    double result;//is used to store the result
    boolean flag = false;//to signal operator pressed
    boolean decimalFlag = false;//to signal decimal pressed
    String stringInput;//used as a temporary store for all entry to allow for conditions to be evaluated
    char ch; //used to store the operator for comparison//Reason is pre does not compare using string
    String pre = "";//used to store the operator
    double mem; //will hold memory operation values
    double vMod; //Temporary store for var2 to be used with percent operations
    //Creates buttons
    JButton btn0 = new JButton("0");
    JButton btn1 = new JButton("1");
    JButton btn2 = new JButton("2");
    JButton btn3 = new JButton("3");
    JButton btn4 = new JButton("4");
    JButton btn5 = new JButton("5");
    JButton btn6 = new JButton("6");
    JButton btn7 = new JButton("7");
    JButton btn8 = new JButton("8");
    JButton btn9 = new JButton("9");
    JButton btnC = new JButton("C");
    JButton btnCE = new JButton("CE");
    JButton btnBkpSpc = new JButton("Backspace");
    JButton btnPlus = new JButton("+");
    JButton btnMinus = new JButton("-");
    JButton btnMultiply = new JButton("*");
    JButton btnDivide = new JButton("/");
    JButton btnEquals = new JButton("=");
    JButton btnPeriod = new JButton(".");
    JButton btnPlusMinus = new JButton("+/-");
    JButton btnSqrt = new JButton("sqrt");
    JButton btnMod = new JButton("%");
    JButton btnOneOverX = new JButton("1/x");
    JButton btnMC = new JButton("MC");
    JButton btnMR = new JButton("MR");
    JButton btnMS = new JButton("MS");
    JButton btnMPlus = new JButton("M+");
    //Displays Text area for Display
    JTextField txtArea = new JTextField("0.");//The calculation display area set to 0.
    JTextField mArea = new JTextField();//to display memory operations
    //Default constructor
    Calctester()
    //Defines a content pane
    Container c = getContentPane();
    //Defines the layout of the frame and sets it to null to allow absolute positioning
    c.setLayout(null);
    //Defines event handling
    btn0.addActionListener(this);
    btn1.addActionListener(this);
    btn2.addActionListener(this);
    btn3.addActionListener(this);
    btn4.addActionListener(this);
    btn5.addActionListener(this);
    btn6.addActionListener(this);
    btn7.addActionListener(this);
    btn8.addActionListener(this);
    btn9.addActionListener(this);
    btnC.addActionListener(this);
    btnCE.addActionListener(this);
    btnBkpSpc.addActionListener(this);
    btnPlus.addActionListener(this);
    btnMinus.addActionListener(this);
    btnDivide.addActionListener(this);
    btnMultiply.addActionListener(this);
    btnEquals.addActionListener(this);
    btnPeriod.addActionListener(this);
    btnPlusMinus.addActionListener(this);
    btnSqrt.addActionListener(this);
    btnMod.addActionListener(this);
    btnOneOverX.addActionListener(this);
    btnMR.addActionListener(this);
    btnMS.addActionListener(this);
    btnMPlus.addActionListener(this);
    btnMC.addActionListener(this);
    btn1.addKeyListener(this);
    //Adds the buttons to the frame and sets the font of the label to be
    //logical font Dialog,plain as opposed to Bold and the label size to 12
    //Also sets the border type of aech button
    c.add(btn0).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn0.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn1).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn1.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn2).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn2.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn3).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn3.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn4).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn4.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn5).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn5.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn6).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn6.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn7).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn7.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn8).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn8.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn9).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn9.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnC).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnC.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnCE).setFont(new Font("Helvetica", Font.PLAIN, 12));
    btnCE.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnBkpSpc).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnBkpSpc.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnPlus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnPlus.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMinus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMinus.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMultiply).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMultiply.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnDivide).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnDivide.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnEquals).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnEquals.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnPeriod).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnPeriod.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnPlusMinus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnPlusMinus.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMod).setFont(new Font("Albertus Medium", Font.PLAIN, 12));
    btnMod.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnSqrt).setFont(new Font("Microsoft San Serif", Font.PLAIN, 11));
    btnSqrt.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnOneOverX).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnOneOverX.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMC).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMC.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMS).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMS.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMR).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMR.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMPlus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMPlus.setBorder(new BevelBorder(BevelBorder.RAISED));
    //sets the color of the label of the buttons
    btnC.setForeground(Color.red);
    btnCE.setForeground(Color.red);
    btnBkpSpc.setForeground(Color.red);
    btnDivide.setForeground(Color.red);
    btnMultiply.setForeground(Color.red);
    btnMinus.setForeground(Color.red);
    btnPlus.setForeground(Color.red);
    btnMC.setForeground(Color.red);
    btnMR.setForeground(Color.red);
    btnMS.setForeground(Color.red);
    btnMPlus.setForeground(Color.red);
    btnEquals.setForeground(Color.red);
    btn0.setForeground(Color.blue);
    btn1.setForeground(Color.blue);
    btn2.setForeground(Color.blue);
    btn3.setForeground(Color.blue);
    btn4.setForeground(Color.blue);
    btn5.setForeground(Color.blue);
    btn6.setForeground(Color.blue);
    btn7.setForeground(Color.blue);
    btn8.setForeground(Color.blue);
    btn9.setForeground(Color.blue);
    btnPlusMinus.setForeground(Color.blue);
    btnSqrt.setForeground(Color.blue);
    btnMod.setForeground(Color.blue);
    btnOneOverX.setForeground(Color.blue);
    btn0.setFocusPainted(false);
    btnPlus.setFocusPainted(false);
    btnEquals.setFocusPainted(false);
    //The display text area and the memory operation text area
    c.add(txtArea);
    txtArea.setBorder(new BevelBorder(BevelBorder.LOWERED));
    txtArea.setBounds(7,0,240,25);//To provide a Text box @ the top of the frame
    txtArea.setEditable(false);
    txtArea.setBackground(Color.white);
    c.add(mArea);
    mArea.setBounds(13, 35, 28, 25);
    mArea.setEditable(false);
    mArea.setBorder(new BevelBorder(BevelBorder.LOWERED));
    setSize(260,251);//size of the frame
    setTitle("Calculator"); //Title
    setVisible(true); //this makes the frame visible on the screen
    setResizable(false); //this disallow resizing of the frame
    setDefaultCloseOperation(EXIT_ON_CLOSE);//to close app
    //instead of the above method you can use the WindowsListener which extennds other classes and implements other interfaces.
    setLocation(300,200);//positioning of the window on the screen
    txtArea.setHorizontalAlignment(JTextField.RIGHT);//sets the text in the text field to the right
    mArea.setHorizontalAlignment(JTextField.CENTER);//centers the label
    JMenu editMenu = new JMenu("Edit");//creates menu
    JMenuItem copy = new JMenuItem("Copy Ctrl+C");//creates menu item
    copy.addActionListener(this);//event handling
    JMenuItem paste = new JMenuItem("Paste Ctrl+V");//creates menu
    paste.addActionListener(this);//event handling
    JMenuBar myMenu = new JMenuBar();//declares a menu bar
    setJMenuBar(myMenu);//adds the menu bar to the frame
    editMenu.setBorderPainted(false);//removes the border shadow around the menu bar
    myMenu.setBorderPainted(false);//removes the border shadow around menu bar
    //adds menu items to the menu, sets the font and font size.
    editMenu.add(paste).setFont(new Font("Dialog", Font.PLAIN, 12));//
    editMenu.add(copy).setFont(new Font("Dialog", Font.PLAIN, 12));
    myMenu.add(editMenu).setFont(new Font("Dialog", Font.PLAIN, 12));
    JMenu viewMenu = new JMenu("View");//creates menu
    JMenuItem sci = new JMenuItem("Scientific");//creates menu item
    sci.addActionListener(this);//event handling
    JMenuItem std = new JMenuItem("Standard");//creates menu item
    //adds menu items to the menu, sets the font and font size.
    viewMenu.add(sci).setFont(new Font("Dialog", Font.PLAIN, 12));
    viewMenu.add(std).setFont(new Font("Dialog", Font.PLAIN, 12));
    myMenu.add(viewMenu).setFont(new Font("Dialog", Font.PLAIN, 12));
    JMenu helpMenu = new JMenu("Help");//creates menu
    JMenuItem helpTopics = new JMenuItem("Help Topics");//creates menu item
    JMenuItem aboutCalc = new JMenuItem("About Calculator");//creates menu item
    helpTopics.addActionListener(this);//event handling
    //helpTopics.setBorder(new BevelBorder(BevelBorder.RAISED));
    helpTopics.setBorder(LineBorder.createGrayLineBorder());
    //adds menu items to the menu, sets the font and font size.
    helpMenu.add(helpTopics).setFont(new Font("Dialog", Font.PLAIN, 12));
    helpMenu.add(aboutCalc).setFont(new Font("Dialog", Font.PLAIN, 12));
    myMenu.add(helpMenu).setFont(new Font("Dialog", Font.PLAIN, 12));
    //aboutCalc.setBorder(new BevelBorder(BevelBorder.RAISED));
    aboutCalc.setBorder(LineBorder.createGrayLineBorder());
    //aboutCalc.setActionCommand("Nothing here right now");
    //Setting absolute positions for the buttons.
    btn0.setBounds(50, 160, 35, 28);
    btn1.setBounds(50, 130, 35, 28);
    btn2.setBounds(90, 130, 35, 28);
    btn3.setBounds(130, 130, 35, 28);
    btn4.setBounds(50, 100, 35, 28);
    btn5.setBounds(90, 100, 35, 28);
    btn6.setBounds(130, 100, 35, 28);
    btn7.setBounds(50, 70, 35, 28);
    btn8.setBounds(90, 70, 35, 28);
    btn9.setBounds(130, 70, 35, 28);
    btnC.setBounds(180, 35, 63, 28);
    btnCE.setBounds(115, 35, 63, 28);
    btnBkpSpc.setBounds(50, 35, 63, 28);
    btnPlus.setBounds(170, 160, 35, 28);
    btnMinus.setBounds(170, 130, 35, 28);
    btnMultiply.setBounds(170, 100, 35, 28);
    btnDivide.setBounds(170, 70, 35, 28);
    btnEquals.setBounds(210, 160, 35, 28);
    btnPeriod.setBounds(130, 160, 35, 28);
    btnPlusMinus.setBounds(90, 160, 35, 28);
    btnMC.setBounds(8, 70, 35, 28);
    btnMR.setBounds(8, 100, 35, 28);
    btnMS.setBounds(8, 130, 35, 28);
    btnMPlus.setBounds(8, 160, 35, 28);
    btnSqrt.setBounds(210, 70, 35, 28);
    btnMod.setBounds(210, 100, 35, 28);
    btnOneOverX.setBounds(210, 130, 35, 28);
    // btn7.addKeyListener(this);
    try
    UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    SwingUtilities.updateComponentTreeUI(this);
    catch (Exception e)
    System.out.println("Could not load Metal Look and Feel");
    public void keyReleased(KeyEvent e)
    //btn1 = txtArea.getRegisteredKeyStrokes();
    // System.out.println(1);
    // keyTyped();
    public void keyPressed(KeyEvent e)
    //if (e.getActionCommand().equals("1"));
    //(e.getKeyText().compareTo("1"));
    //(e.getKeyCode().equals("1"));
    //else
    System.out.println("Error");
    //keyTyped();
    public void keyTyped(KeyEvent e)
    //displayInfo(e, "KEY TYPED: ");
    System.err.println("KeyTyped >>> " + e.KEY_TYPED);
    //keyEvent.keyTyped();
    // e.KEY_TYPED;
    /* protected void displayInfo (KeyEvent e, string s)
    {KeyCodeString;
    int keyCode = e.getKeyCode();
    keyCodeString = "key code " + keyCode
    + "("
    + KeyEvent.getKeyText(keyCode);
    public void actionPerformed(ActionEvent e)
    stringInput = e.getActionCommand();
    System.out.println("First stringInput action performed>>" +stringInput);
    System.out.println("First pre action performed>>" +pre);
    if (stringInput == "C")
    operand1 = "";
    operand2 = "";
    var1 = 0;
    var2 = 0;
    var1 = result;
    txtArea.setText("0.");
    flag = false;//to force the operations to jump to operand 1 and go through the loop as normal
    pre = "";
    if (stringInput == "CE")
    operand2 = "";
    var2 = 0;
    txtArea.setText("0.");
    flag = true;//to force the operations to jump to operand 1 and go through the loop as normal
    if (stringInput == "MR")
    if (var1 != 0)
    txtArea.setText(Double.toString(var1));
    mArea.setText("M");
    System.err.println("mem@operand1 >> "+ mem );
    else if (var2 != 0)
    txtArea.setText(Double.toString(var2));
    mArea.setText("M");
    System.err.println("mem @ mR else>> "+ mem );
    if (stringInput == "MS")
    mArea.setText("M");
    if (operand1 != "")
    mem = var1;
    else if (operand2 != "")
    mem = var2;
    else
    mem = 0;
    if (stringInput == "MC")
    mArea.setText("");//to clear the text area display
    mem = 0;//to reset the variable
    if (stringInput == "M+")
    mArea.setText("M");
    flag = true;//to force the operations to jump to operand 2 and go through the loop as normal
    if (stringInput == "=")
    //result = evaluate();
    txtArea.setText(Double.toString(result));
    System.out.println("Equals>>" +stringInput);
    System.out.println("Equals>>" +pre);
    System.err.println("The flag at equals is " + flag);
    if (stringInput == "+"||stringInput == "-"||stringInput == "/"||
    stringInput == "*"||stringInput == "=")
    pre = pre.concat(stringInput);
    System.out.println("Second action perfo/check for operator>>" +stringInput);
    System.out.println("Second pre action perfo/check for operator>>" +pre);
    operand2 = "";
    System.err.println("The flag at +,- etc is " + flag);
    if(!flag &&(stringInput == "*"|| stringInput == "/"))
    var2 = 1;
    stringInput = "";
    flag = true;
    if(!flag)
    stringInput = pre;
    System.out.println("if flag true/stringInput" +stringInput);
    System.out.println("flag true/pre" +pre);
    else
    //These statements extract the operator
    stringInput = pre.valueOf(pre.charAt(pre.length()-2));
    ch = pre.charAt(pre.length()-2);
    System.out.println("@ position -2 stringInput" + pre.valueOf(pre.charAt(pre.length()-2)));
    System.out.println("@ position -2 pre" + pre.charAt(pre.length()-2));
    result = evaluate();
    var2 = 0;
    operand2 = "";
    txtArea.setText(Double.toString(result));
    System.out.println("Total is " + result);
    flag = true;
    if(!flag &&(stringInput == "*"|| stringInput == "/"))
    var2 = 1;
    stringInput = "";
    flag = true;
    if (stringInput == "%")
    //evaluate();
    txtArea.setText(Double.toString(result));
    System.err.println("mem @ mR else>> "+ result + " %" );
    if (stringInput == "1/x")
    if (operand1 != "")
    txtArea.setText(Double.toString(1/var1));
    //System.err.println("mem@operand1 >> "+ mem );
    else if (operand2 != "")
    operand2 = "";
    txtArea.setText(Double.toString(1/var2));
    //System.err.println(">> "+ mem );
    if (Character.isDigit(stringInput.charAt(0))||stringInput == ".")
    System.out.println(operand1);
    if (stringInput == "." && operand1 == "")
    operand1 = "0";
    System.out.print("fail op1");
    if (stringInput == "." && operand2 == "")
    System.out.print("fail op2");
    operand2 = "0";
    if (flag==false)
    operand1 = operand1.concat(stringInput);
    result = Double.parseDouble(operand1);
    System.out.println("op1 =>" + operand1);
    txtArea.setText(operand1);
    //result = var1;
    System.out.println("result after var1 = result " + result);
    else
    operand2 = operand2.concat(stringInput);
    var2 = Double.parseDouble(operand2);
    //var2 = vMod;
    System.out.println("op2 =>" + operand2);
    txtArea.setText(" ");//to clear the text area
    txtArea.setText(operand2);//to display the second number if (operators == "+")
    System.out.println("result after var2 " + result);
    public double evaluate()
    if (ch == '+' )
    result = result + var2;
    if (ch == '-' )
    result = result - var2;
    if (ch == '/' )
    result = result / var2;
    if (ch == '*' )
    result = result * var2;
    if (ch == '%')
    var2 = Double.parseDouble(operand2);
    result = result/vMod*100;
    System.out.println("% "+ result);
    return result;
    public static void main(String [] args)
    Calctester x = new Calctester();
    }

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time?
    This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • How do I set up multiple midi-input devices:WX5 wind & keyboard controllers

    Hello,
    I'm trying to setup my system to utilize two midi input devices.
    1. Novation Controller Keyboard connected through USB
    2. WX5 wind controller connected via VL-70 tone module with midi out cable to channel 1 of my Motu midi interface.
    As it is currently setup I am able to play both my Wind Controller and MIDI Keyboards fine, but for some reason whenever I finish playing the Wind Controller, the MIDI Keyboard no longer plays sound (it plays midi fine according to the transport, but no sound is created until I load another patch of the EXS).
    What am I doing wrong? Should I be switching between inputs in Logic somehow? How can I setup my system to be able to jump back and forth between my midi keyboard and wind controllers? I have done no setup besides cabling the devices in the AudioMidi setup (outside of Logic).
    Thank you in advance for any help you can provide!

    This is just a guess, but if the last thing your wind controller puts out is a volume message of zero (as I think it would do as you stop playing the last note) then you would need to send a volume message to the sound module to reset it to the desired volume.

  • Input menu changing my default keyboard layout-again.  Grrrr!

    This same issue had come up years ago, and I no longer remember with certainty how it was fixed.  It just geared up its ugly head again.  Ever since I can remember, I've been using a custom keyboard layout, which I arbitrarily labeled "Cantabria", that lets me type in seven languages with an absolute minimum of key combos.  I only need a different keyboard layout for Cyrillic (Russian).
    The problem is that, in the past few days or weeks, the system arbitrarily  changes my Input Menu to reflect one of the two US English keyboards as the active one, either US or US Extended.  I can't see a pattern.  It just happens.  The Menu Input key combinations are duly disabled, so it's not my accidentally hitting Command+Space.
    I thought the solution had been simply to UNcheck both US keyboard options in International, but now it seems you can't do that.  You have to have at least one of them selected.
    Any ideas on how to stop this annoyance will be much appreciated.
    Thanks in advance.

    To my stunned amazement, I just found this other thread from last September with the same issue.  I had no memory of having posted then and I still have no independent recollection of it.  Major senior moment, darn! 
    https://discussions.apple.com/message/16121983#16121983
    Strange that back then I was able to unselect both US English keyboard layouts and now I can't, on the same machine and same OS build.  I'll try deleting the files BDAqua mentions in that other thread.
    In attenuating defense of my brain malfunction I can only offer that the other thread is dated the same day my second grandson was born.  My mind was obviously elsewhere.

  • How can I access my computer when the keyboard letters don't respond and I need to input my password?

    My computer is password protected, but for some reason, the letters in the keyboard are not responding. I press the "Caps lock" button and the "num lock" button and they seem to operate fine and the mouse is also working properly, but it seems like the letters are locked and won't input.
    Please help

    Hit the num lock button again. Num lock forces only the numeric keypad underlying keys to work as a  numeric keypad, and the rest of the keyboard won't work.  Unfortunately Apple stopped including the numeric keypad hidden keyboard key labels on its keyboards.  They used to include them.  They are known as mouse keys: http://docs.info.apple.com/article.html?path=Mac/10.5/en/cdb_moskys.html

  • Can I use a MIDI keyboard as an input device for a software instrument?

    I have a Casio CTK-2100 that I am currently playing around with in Logic Pro 9. It can record and playback the different instruments fine using MIDI tracks. But I was wondering if it is possible to use the keyboard as an input device for a software instrument instead of the "Step Input Keyboard".
    Is it? If so, how do I set it up?

    Yes, the terminology can be a bear, many, many years ago when I started using Logic the manuals were written completely by the programmers, while they were quite humorous in places the were also really hard to understand so I learned/realized.. you can't really do anything so wrong it's going to destroy your computer so why not go ahead and experiment. I learned the basics of Logic without a manual, months later when I went back to find some some details I could figure out the manual made a lot more sense.
    Logic has been somewhat Appleized but it's not really an Apple program, it was purchased almost as developed as it is now... a lot of the additions a fluff to make it easier to understand for new users while at the same time there are some real improvements.
    This is personal opinion: With all of the forums/online tutorials...etc...etc. It seems users are learning (but not understanding) the same things, plus everyone wants to use it right away so nobody takes a deep breath and investigates on their own. Logic is a deep, deep program, while learning don't be afraid to go off on a tangent and explore the program without any other input, it can actually be inspirational. One other thing good about the manual or "Online Help", in looking up a function you will invariably come across a related concept that will provide further insight.
    And..... have fun.

  • I have a new mac book pro (sept 2014) and am suddenly stuck on the log-in screen. Keyboard input not working to enter my password. Already tried a basic restart and a cmmnd/ cntrl/ pwr troubleshoot to no effect.

    I have a new mac book pro (sept 2014) and am suddenly stuck on the log-in screen. Keyboard input is not working to enter my password. Seems to be a log in issue as keyboard works for forced troubleshooting. (And b/c when I first noticed the problem, I was able to enter my log in password but then everything sort of froze. Now, no ability to enter the password.) Already tried a basic restart and a cmmnd/ cntrl/ pwr troubleshoot to no effect.

    Reset PRAM:   http://support.apple.com/kb/PH14222
    Start up in Safe Mode.
    http://support.apple.com/kb/ph14204
    A new Mac is in warranty for 1 year from the date of purchase.
    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273
    Call AppleCare or take it to the Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

  • How to have same keyboards input source in Mac and Windows???

    I use Canadian French-CSA on my Mac keyboards input source. Using Windows 7, I can't find the good setting for my keyboards to be the same when I it keys.
    I run Windows over Parallels Desktop
    Can anybody help?
    Thank you

    Can I use an AirPort Extreme Base Station "n"
    Yes.
    and if so, will my MacBook work with this at maximum download / upload speed (i.e. equivalent to the cable)
    The speed of your internal network generally is much much faster than the speed of your internet connection. Unless he has an internet connection faster than approx 6Mbps then even dropping down to the old 802.11b Airport would not seen any decrease in speed of downloads etc...
    and will my brother's PC's also be able to connect?
    If his PC is 802.11b/g-compliant, it shouldn't have any problems connecting to the AirPort base station.
    Or is there another Airport base station?
    The other AirPorts would work, but the AirPort Express & older 802.11g AirPort Extreme base stations have a max. range of 150 feet.
    OR-- should I head down to "Generic Computer Store" and just by a wireless router (WiFi)(think that's what they call them) and connect this to his cable modem? IF SO WILL THAT WORK FOR MY MAC?
    That is always an option as well, especially since he will be the primary user throughout the year. I'd suggest going with a brand name, like Belkin, D-Link, or Linksys for the wireless router choice.

  • How to enter text in text input box using virtual keyboard in flex application

    Re: how to enter text in text input box using virtual keyboard in flex application
    hi,
    im using flash builder 4,
    i  designed virtual keyboard, i have to update the text in text input box  continously by using virtual keyboard.
    i used button events.i did  some mistake there.
    can some one help me out of tat.
    thanks  in advance.
    i have included my mxml program with this.
    virtualkeyboard.mxml
    <?xml  version="1.0" encoding="utf-8"?>
    <s:Application  xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"  minHeight="600" creationComplete="initfunc()">
         <fx:Script>
            <![CDATA[
                import  mx.controls.Alert;
                private function initfunc():void
                    b1.addEventListener(MouseEvent.CLICK,handleEvent);
                     b2.addEventListener(MouseEvent.CLICK,handleEvent);
                     b3.addEventListener(MouseEvent.CLICK,handleEvent);
                     b4.addEventListener(MouseEvent.CLICK,handleEvent);
                     b5.addEventListener(MouseEvent.CLICK,handleEvent);
                     b6.addEventListener(MouseEvent.CLICK,handleEvent);
                     b7.addEventListener(MouseEvent.CLICK,handleEvent);
                     b8.addEventListener(MouseEvent.CLICK,handleEvent);
                     b9.addEventListener(MouseEvent.CLICK,handleEvent);
                     b10.addEventListener(MouseEvent.CLICK,handleEvent);
                     b11.addEventListener(MouseEvent.CLICK,handleEvent);
                     b12.addEventListener(MouseEvent.CLICK,handleEvent);
                     b13.addEventListener(MouseEvent.CLICK,handleEvent);
                     b14.addEventListener(MouseEvent.CLICK,handleEvent);
                     b15.addEventListener(MouseEvent.CLICK,handleEvent);
                     b16.addEventListener(MouseEvent.CLICK,handleEvent);
                     b17.addEventListener(MouseEvent.CLICK,handleEvent);
                     b18.addEventListener(MouseEvent.CLICK,handleEvent);
                     b19.addEventListener(MouseEvent.CLICK,handleEvent);
                     b20.addEventListener(MouseEvent.CLICK,handleEvent);
                     b21.addEventListener(MouseEvent.CLICK,handleEvent);
                     b22.addEventListener(MouseEvent.CLICK,handleEvent);
                     b23.addEventListener(MouseEvent.CLICK,handleEvent);
                     b24.addEventListener(MouseEvent.CLICK,handleEvent);
                     b25.addEventListener(MouseEvent.CLICK,handleEvent);
                     b26.addEventListener(MouseEvent.CLICK,handleEvent);
                     b27.addEventListener(MouseEvent.CLICK,handleEvent);
                     b28.addEventListener(MouseEvent.CLICK,handleEvent);
                     b29.addEventListener(MouseEvent.CLICK,handleEvent);
                     b30.addEventListener(MouseEvent.CLICK,handleEvent);
                     b31.addEventListener(MouseEvent.CLICK,handleEvent);
                     b32.addEventListener(MouseEvent.CLICK,handleEvent);
                     b33.addEventListener(MouseEvent.CLICK,handleEvent);
                     b34.addEventListener(MouseEvent.CLICK,handleEvent);
                     b35.addEventListener(MouseEvent.CLICK,handleEvent);
                     b36.addEventListener(MouseEvent.CLICK,handleEvent);
                     b37.addEventListener(MouseEvent.CLICK,handleEvent);
                     b38.addEventListener(MouseEvent.CLICK,handleEvent);
                     b39.addEventListener(MouseEvent.CLICK,handleEvent);
                     b40.addEventListener(MouseEvent.CLICK,handleEvent);
                     b41.addEventListener(MouseEvent.CLICK,handleEvent);
                     b42.addEventListener(MouseEvent.CLICK,handleEvent);
                     b43.addEventListener(MouseEvent.CLICK,handleEvent);
                     b44.addEventListener(MouseEvent.CLICK,handleEvent);
                     b45.addEventListener(MouseEvent.CLICK,handleEvent);
                     b46.addEventListener(MouseEvent.CLICK,handleEvent);
                     b47.addEventListener(MouseEvent.CLICK,handleEvent);
                     b48.addEventListener(MouseEvent.CLICK,handleEvent);
                     b49.addEventListener(MouseEvent.CLICK,handleEvent);
                     b50.addEventListener(MouseEvent.CLICK,handleEvent);
                     b51.addEventListener(MouseEvent.CLICK,handleEvent);
                     b52.addEventListener(MouseEvent.CLICK,handleEvent);
                     b53.addEventListener(MouseEvent.CLICK,handleEvent);               
                public function handleEvent ( e :  MouseEvent ) : void
                    var a:String=  e.target.name ;
                    Alert.show(e.target.name);
                   var b:String=null;
                    switch(a)
                        case "Button20":
                           b=textbox.text;
                            //textbox.text="a";
                             textbox.text=b+"a";
                            break;
                       case "Button21":
                            //textbox.text="b";
                           textbox.text=b+"b";
                           break;
                       default:
                           //textbox.text="s";
                            textbox.text=b+"s";
            ]]>
        </fx:Script>
        <s:Panel  x="43" y="82" width="527" height="213">
          <mx:Button  x="71" y="86" id="b1" label="1" width="30" height="24"/>
             <s:Button x="180" y="86"  id="b2" label="5" width="30"  height="24"/>
            <s:Button x="127" y="86"  id="b3"  label="3" width="30" height="24"/>
            <s:Button x="99"  y="86"  id="b4" label="2" width="30" height="24"/>
             <s:Button x="323" y="86"  id="b5" label="0" width="30"  height="24"/>
            <s:Button x="294" y="86"  id="b6"  label="9" width="30" height="24"/>
            <s:Button x="265"  y="86"   id="b7" label="8" width="30" height="24"/>
             <s:Button x="237" y="86"  id="b8" label="7" width="30"  height="24"/>
            <s:Button x="209" y="86"  id="b9"  label="6" width="30" height="24"/>
            <s:Button x="42"  y="86"  id="b10" label="`" width="30" height="24"/>
             <s:Button x="382" y="86" id="b11" label="=" width="30"  height="24"/>
            <s:Button x="353" y="86"  id="b12"  label="-" width="30" height="24"/>
            <s:Button x="410"  y="86"  id="b13" label="back" width="76" height="24"/>
             <s:Button x="157" y="86"  id="b14" label="4" width="30"  height="24"/>
            <s:Button x="43" y="109" id="b15"  label="tab" width="66" height="24"/>
            <s:Button x="105"  y="109"  id="b16" label="q" width="31" height="24"/>
             <s:Button x="247" y="109"  id="b17" label="y" width="30"  height="24"/>
            <s:Button x="303" y="109"  id="b18"  label="i" width="31" height="24"/>
            <s:Button x="361"  y="110"  id="b19" label="p" width="34" height="23"/>
             <s:Button x="394" y="109"  id="b20" label="[" width="31"  height="24"/>
            <s:Button x="191" y="109"  id="b21"  label="r" width="34" height="24"/>
            <s:Button x="424"  y="109"  id="b22" label="]" width="31" height="24"/>
             <s:Button x="222" y="109"  id="b23" label="t" width="31"  height="24"/>
            <s:Button x="161" y="109"  id="b24"  label="e" width="31" height="24"/>
            <s:Button x="133"  y="109"  id="b25" label="w" width="31" height="24"/>
             <s:Button x="332" y="109"  id="b26" label="o" width="31"  height="24"/>
            <s:Button x="275" y="109"  id="b27"  label="u" width="31" height="24"/>
            <s:Button x="220"  y="133"  id="b28" label="g" width="31" height="24"/>
             <s:Button x="424" y="132"  id="b29" label="enter" width="62"  height="24"/>
            <s:Button x="43" y="132"  id="b30"  label="caps" width="66" height="24"/>
            <s:Button x="275"  y="133"  id="b31" label="j" width="42" height="23"/>
             <s:Button x="314" y="132"  id="b32" label="k" width="31"  height="24"/>
            <s:Button x="133" y="133"  id="b33"  label="s" width="31" height="23"/>
            <s:Button x="161"  y="133"  id="b34" label="d" width="31" height="23"/>
             <s:Button x="250" y="133"  id="b35" label="h" width="31"  height="23"/>
            <s:Button x="105" y="133"  id="b36"  label="a" width="31" height="23"/>
            <s:Button x="191"  y="133"  id="b37" label="f" width="31" height="23"/>
             <s:Button x="342" y="132"  id="b38" label="l" width="31"  height="24"/>
            <s:Button x="152" y="154"  id="b39"  label="x" width="31" height="24"/>
            <s:Button x="353"  y="154"  id="b40" label="." width="31" height="24"/>
             <s:Button x="325" y="154"  id="b41" label="," width="31"  height="24"/>
            <s:Button x="294" y="154"  id="b42"  label="m" width="31" height="24"/>
            <s:Button x="259"  y="154"  id="b43" label="n" width="37" height="24"/>
             <s:Button x="236" y="154"  id="b44" label="b" width="31"  height="24"/>
            <s:Button x="211" y="154"  id="b45"  label="v" width="31" height="24"/>
            <s:Button x="181"  y="154"  id="b46" label="c" width="31" height="24"/>
             <s:Button x="122" y="154"  id="b47" label="z" width="31"  height="24"/>
            <s:Button x="380" y="154"  id="b48"  label="/" width="31" height="24"/>
            <s:Button x="368"  y="132"  id="b49" label=";" width="31" height="24"/>
             <s:Button x="396" y="132"  id="b50" label="'" width="31"  height="24"/>
            <s:Button x="43" y="154"  id="b51"  label="shift" width="82" height="24"/>
            <s:Button  x="407" y="154" id="b52" label="shift" width="79" height="24"/>
             <s:Button x="455" y="109"  id="b53" label="\" width="31"  height="24"/>
        </s:Panel>
        <s:TextInput  x="161" y="27" id="textbox" width="253"/>
    </s:Application>
    regards,
    saran r

    hi,
    how to code for these buttons "control,alt,delete,insert and spacebar".
    can u help me how to program?
    i have attached the mxml code with this,
    virtualkeypad1.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">
        <fx:Script>
            <![CDATA[
                import flash.utils.getQualifiedSuperclassName;
                import mx.events.FlexEvent;
                private var inpText:String = 'inp1';
                private var shiftState:Boolean = false;
                private var capsState:Boolean = false;
                protected function keyboard_clickHandler(event:MouseEvent):void
                    this[inpText].text = this[inpText].text+(event.currentTarget as Button).label;
                    if (shiftState == true) shift_clickHandler(null);
                protected function caps_clickHandler(event:MouseEvent):void
                    capsState = !capsState;
                    if (capsState == true)
                        currentState = "SHIFTED" else currentState = "PRIMARY";
                protected function tab_clickHandler(event:MouseEvent):void
                    this[inpText].text = this[inpText].text+"    ";
                protected function shift_clickHandler(event:MouseEvent):void
                    shiftState = !shiftState;
                    if (shiftState == true)
                        currentState = "SHIFTED" else currentState = "PRIMARY";
                protected function enter_clickHandler(event:MouseEvent):void
                    this[inpText].text = this[inpText].text+"\n";
                protected function backspace_clickHandler(event:MouseEvent):void
                    var tmpStr:String = this[inpText].text;
                    this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
                protected function application1_creationCompleteHandler(event:FlexEvent):void
                    inp1.setFocus();               
                protected function focus_enterHandler(event:MouseEvent):void
                    inpText = event.currentTarget.id;
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="PRIMARY"/>
            <s:State name="SHIFTED"/>
        </s:states>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:TextInput id="inp1" y="36" width="151" horizontalCenter="0" click="focus_enterHandler(event)" y.PRIMARY="239" horizontalCenter.PRIMARY="42" width.PRIMARY="199" height.PRIMARY="31"/>
        <s:Group id="keyboard" width="661" height="184" horizontalCenter="0" y="300" focusEnabled="false">
            <s:Button x="5" y="5" label="~" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="`"/>
            <s:Button x="49" y="5" label="!" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="1"/>
            <s:Button x="93" y="5" label="@" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="2"/>
            <s:Button x="137" y="5" label="#" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="3"/>
            <s:Button x="181" y="5" label="$" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="4"/>
            <s:Button x="225" y="5" label="%" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="5"/>
            <s:Button x="269" y="5" label="^" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="6"/>
            <s:Button x="313" y="5" label="&amp;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
            <s:Button x="357" y="5" label="*" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="8"/>
            <s:Button x="401" y="5" label="(" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="9"/>
            <s:Button x="445" y="5" label=")" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="0"/>
            <s:Button x="489" y="5" label="_" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="-"/>
            <s:Button x="533" y="5" label="+" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="="/>
            <s:Button x="577" y="5" label="Backspace" height="43" width="80" fontSize="11" fontWeight="bold" click="backspace_clickHandler(event)"/>
            <s:Button x="5" y="48" label="Tab" height="43" width="67" fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
            <s:Button x="72" y="48" label="Q" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="q"/>
            <s:Button x="116" y="48" label="W" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="w"/>
            <s:Button x="160" y="48" label="E" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="e"/>
            <s:Button x="204" y="48" label="R" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="r"/>
            <s:Button x="248" y="48" label="T" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="t"/>
            <s:Button x="292" y="48" label="Y" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="y"/>
            <s:Button x="336" y="48" label="U" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="u"/>
            <s:Button x="380" y="48" label="I" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="i"/>
            <s:Button x="424" y="48" label="O" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="o"/>
            <s:Button x="468" y="48" label="P" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="p"/>
            <s:Button x="512" y="48" label="{" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="["/>
            <s:Button x="556" y="48" label="}" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="]"/>
            <s:Button x="600" y="48" label="|" height="43" width="57" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="\"/>
            <s:Button x="5" y="91" label="CapsLock" height="43" width="80" fontSize="12" fontWeight="bold" click="caps_clickHandler(event)"/>
            <s:Button x="85" y="91" label="A" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="a"/>
            <s:Button x="129" y="91" label="S" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="s"/>
            <s:Button x="173" y="91" label="D" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="d"/>
            <s:Button x="217" y="91" label="F" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="f"/>
            <s:Button x="261" y="91" label="G" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="g"/>
            <s:Button x="305" y="91" label="H" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="h"/>
            <s:Button x="349" y="91" label="J" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="j"/>
            <s:Button x="393" y="91" label="K" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="k"/>
            <s:Button x="437" y="91" label="L" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="l"/>
            <s:Button x="481" y="91" label=":" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=";"/>
            <s:Button x="525" y="91" label="&quot;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
            <s:Button x="569" y="91" label="Enter" height="43" width="88" fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
            <s:Button x="5" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
            <s:Button x="111" y="134" label="Z" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="z"/>
            <s:Button x="155" y="134" label="X" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="x"/>
            <s:Button x="199" y="134" label="C" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="c"/>
            <s:Button x="243" y="134" label="V" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="v"/>
            <s:Button x="287" y="134" label="B" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="b"/>
            <s:Button x="331" y="134" label="N" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="n"/>
            <s:Button x="375" y="134" label="M" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="m"/>
            <s:Button x="419" y="134" label="&lt;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=","/>
            <s:Button x="463" y="134" label="&gt;" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="."/>
            <s:Button x="507" y="134" label="?" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="/"/>
            <s:Button x="551" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
        </s:Group>
    </s:Application>
    thanks in advance,
    saran r

  • How to get input from keyboard scanner into an array

    This is probably a very basic question but I'm very new to java..
    My task is to reverse a string of five digits which have been entered using keyboard scanner.
    E.g. - Entered number - 45896
    Output - 69854
    I used the StringBuffer(inputString).reverse() command for this, but i need a more basic method to do this.
    I thought of defining an array of 5
    int[] array = new int [5];
    and then using,
    Scanner scan = new Scanner(System.in);
    to enter the numbers. But I can't figure out how to get the five input numbers into the array.
    If I can do this I can print the array in reverse order to get my result.
    Any other simple method is also welcome.

    Hey thanks for the quick reply,
    But how can I assign the whole five digit number into the array at once without asking to enter numbers separately?
    E.g. - if entered number is 65789
    Assign digits into positions,
    anArray [0] = 6;
    anArray [1] = 5;
    anArray [2] = 7;
    anArray [3] = 8;
    anArray [4] = 9;
    I'm really sorry but I am very new to the whole subject.

  • How to use the phone's Mini-Keyboard Input with the 'Textbox'(MIDP2.0)?

    (My apology. My English is not perfect but I'll try my best. >_<)
    Hi. I'm trying to create a textbox(in my own little application) that is compatible with the mini-keyboard input feature.
    This problem involved any device that have a built-in "mini-keyboard".
    Problem:
    I tried the 'Textbox' class from MIDP2.0 but the result, as expected, is like using the phones with no built-in keyboard.
    (Forexample if I want to input the character 'C' inthe text box, I need to press number '2' button three times to let it circle through 'A' -> 'B' then 'C'. )
    Then I tried entering URLs in the phone's built-in web browser, the result is I can use the mini keyboard to type like a PC keyboard.
    Question: How do I implement such textbox that is fully compatible with the built-in mini Keyboard?
    I tried browsing through the MIDP2.0 API but it seems the 'Textbox' class there couldn't do it.
    Thank you. =)
    /bow
    Edit/Delete Message

    The textbox should have input just as any other normal phone input. If not, something strange is going on.
    Anyway , there is no use to make your own input method, since every phone has another implementation of this anyway. It would only confuse users.

  • Mouse & keyboard input problem.

    Hello there.
    I have recently started using a Mac Mini for music live performance.
    I am using programs like Ableton Live & Apple's MainStage.
    I am experiencing problems with the input coming from the mouse and keyboard. After startup everything works perfectly fine. I am using Apple's Magic Mouse and Apple's wireless bluetooth keyboard now, but I have also experienced the same with a simple cheap usb mouse.
    Let me explain, what happens:
    From time to time, the input coming from both the keyboard and the mouse stops. The keyboards is not responding at all. The mouse can move the coursor around, but the buttons are not responding. When I for example move the coursor on an icon in the dock, the name does not pop up, as it would do normally.
    From that point my rescue is a restart (hard one) or a screen sharing login from another mac on the network to do a normal restart.
    Is anyone experiencing something similar? Any tips to help me out?

    We are running Ableton Live for running backtracks.
    Here is the part of the log. There is more log about the system startup, if needed.
    18/06/14 16:27:54,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:27:54,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:33:05,371
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:35:17,000
    kernel[0]
    [AppleMultitouchDevice::willTerminate] entered
    18/06/14 16:35:17,000
    kernel[0]
    [AppleMultitouchDevice::stop] entered
    18/06/14 16:35:17,000
    kernel[0]
    [0xffffff8018afd600][free]()
    18/06/14 16:35:17,804
    loginwindow[68]
    Preferred Localizations total: 1 contents (  English )
    18/06/14 16:35:24,412
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:35:24,428
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:35:59,916
    digest-service[514]
    label: default
    18/06/14 16:35:59,916
    digest-service[514]
    dbname: od:/Local/Default
    18/06/14 16:35:59,916
    digest-service[514]
    mkey_file: /var/db/krb5kdc/m-key
    18/06/14 16:35:59,916
    digest-service[514]
    acl_file: /var/db/krb5kdc/kadmind.acl
    18/06/14 16:35:59,917
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:35:59,918
    digest-service[514]
    digest-request: netr probe 0
    18/06/14 16:35:59,919
    digest-service[514]
    digest-request: init request
    18/06/14 16:35:59,922
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,010
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,010
    digest-service[514]
    digest-request: init request
    18/06/14 16:36:00,013
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,175
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,175
    digest-service[514]
    digest-request: init request
    18/06/14 16:36:00,178
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,204
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,204
    digest-service[514]
    digest-request: init request
    18/06/14 16:36:00,207
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,210
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,212
    digest-service[514]
    digest-request: od failed with 2 proto=ntlmv2
    18/06/14 16:36:00,212
    digest-service[514]
    digest-request: user=\GUEST
    18/06/14 16:36:00,215
    digest-service[514]
    digest-request: kdc failed with -1765328234 proto=unknown
    18/06/14 16:36:00,215
    digest-service[514]
    digest-request guest: ok user=DUNES-MAC-MINI\GUEST proto=ntlmv2 flags: NEG_KEYEX, ENC_128, NEG_VERSION, NEG_TARGET_INFO, NEG_NTLM2, NEG_NTLM, NEG_TARGET, NEG_UNICODE
    18/06/14 16:36:01,567
    kdc[72]
    Got a canonicalize request for a LKDC realm from 192.168.1.101:51637
    18/06/14 16:36:01,567
    kdc[72]
    LKDC referral to the real LKDC realm name
    18/06/14 16:36:01,570
    kdc[72]
    BUG in libdispatch client: kevent[EVFILT_READ] delete: "Bad file descriptor" - 0x9
    18/06/14 16:36:01,698
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51638 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,702
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51638 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,703
    kdc[72]
    Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
    18/06/14 16:36:01,713
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51639 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,717
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51639 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,718
    kdc[72]
    Client sent patypes: ENC-TS
    18/06/14 16:36:01,718
    kdc[72]
    ENC-TS pre-authentication succeeded -- dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,719
    kdc[72]
    Client supported enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des3-cbc-sha1, arcfour-hmac-md5, using aes256-cts-hmac-sha1-96/aes256-cts-hmac-sha1-96
    18/06/14 16:36:01,719
    kdc[72]
    Requested flags: canonicalize
    18/06/14 16:36:01,867
    kdc[72]
    TGS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51640 for vnc/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A2943F 6790428F4FC70E766BF0D80FB1 [canonicalize]
    18/06/14 16:36:01,887
    screensharingd[516]
    Authentication: SUCCEEDED :: User Name: dune :: Viewer Address: 192.168.1.101 :: Type: Kerberos
    18/06/14 16:36:27,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:36:27,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:36:29,000
    kernel[0]
    [BNBMouseDevice::init][80.14] init is complete
    18/06/14 16:36:29,000
    kernel[0]
    [BNBMouseDevice::handleStart][80.14] returning 1
    18/06/14 16:36:29,000
    kernel[0]
    [AppleMultitouchHIDEventDriver::start] entered
    18/06/14 16:36:29,883
    loginwindow[68]
    Preferred Localizations total: 1 contents (
        English
    18/06/14 16:36:30,000
    kernel[0]
    [AppleMultitouchDevice::start] entered
    18/06/14 16:37:08,196
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:37:18,214
    Console[524]
    setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    18/06/14 16:39:41,000
    kernel[0]
    process ScreensharingAge[517] caught causing excessive wakeups. EXC_RESOURCE supressed due to audio playback
    18/06/14 16:39:59,731
    com.apple.IconServicesAgent[249]
    main Failed to composit image for binding VariantBinding [0x3b1] flags: 0x8 binding: FileInfoBinding [0x2bb] - extension: log, UTI: com.apple.log, fileType: ????.
    18/06/14 16:39:59,732
    quicklookd[521]
    Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x403] flags: 0x8 binding: FileInfoBinding [0x303] - extension: log, UTI: com.apple.log, fileType: ???? request size:48 scale: 1
    18/06/14 16:41:13,236
    MainStage[448]
    NIAUCocoaApplicationEvents: unregistration (0x3bdf2ca0)
    18/06/14 16:41:15,842
    WindowServer[103]
    _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    18/06/14 16:41:15,849
    WindowServer[103]
    _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    18/06/14 16:41:27,386
    com.apple.SecurityServer[15]
    Session 100017 created
    18/06/14 16:41:27,403
    com.apple.SecurityServer[15]
    Killing auth hosts
    18/06/14 16:41:27,403
    com.apple.SecurityServer[15]
    Session 100016 destroyed
    18/06/14 16:41:27,544
    com.apple.IconServicesAgent[249]
    main Failed to composit image for binding VariantBinding [0x3b3] flags: 0x8 binding: FileInfoBinding [0x4b3] - extension: caf, UTI: com.apple.coreaudio-format, fileType: ????.
    18/06/14 16:41:27,544
    quicklookd[521]
    Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x803] flags: 0x8 binding: FileInfoBinding [0x703] - extension: caf, UTI: com.apple.coreaudio-format, fileType: ???? request size:16 scale: 1
    18/06/14 16:41:28,451
    Console[547]
    setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    18/06/14 16:41:41,991
    Console[547]
    Marker - 18 Jun 2014 16:41:41
    18/06/14 16:41:44,520
    Console[547]
    Marker - 18 Jun 2014 16:41:44
    18/06/14 16:42:05,640
    com.apple.launchd.peruser.501[174]
    (com.apple.PackageKit.InstallStatus) Throttling respawn: Will start in 9 seconds
    18/06/14 16:42:05,689
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,705
    com.apple.launchd.peruser.501[174]
    (com.apple.universalaccessAuthWarn[280]) Exited: Killed: 9
    18/06/14 16:42:05,705
    com.apple.launchd.peruser.501[174]
    (com.apple.AirPlayUIAgent[316]) Exited: Killed: 9
    18/06/14 16:42:05,707
    com.apple.launchd[1]
    (com.apple.ShareKitHelper[255]) Exited: Killed: 9
    18/06/14 16:42:05,709
    com.apple.launchd[1]
    (com.apple.internetaccounts[246]) Exited: Killed: 9
    18/06/14 16:42:05,722
    com.apple.launchd.peruser.501[174]
    ([0x0-0x1b01b].com.apple.AppleSpell[305]) Exited: Killed: 9
    18/06/14 16:42:05,723
    com.apple.launchd.peruser.501[174]
    (com.apple.gamed[215]) Exited: Killed: 9
    18/06/14 16:42:15,741
    loginwindow[68]
    ERROR | -[ApplicationManager quitPrivateProcesses] | Private process did not quit
    18/06/14 16:42:15,773
    sessionlogoutd[560]
    sessionlogoutd Launched
    18/06/14 16:42:15,779
    sessionlogoutd[560]
    DEAD_PROCESS: 68 console
    18/06/14 16:42:15,807
    airportd[90]
    _doAutoJoin: Already associated to “DuneLive2014”. Bailing on auto-join.
    18/06/14 16:42:15,812
    shutdown[561]
    reboot by _softwareupdate:
    18/06/14 16:42:15,813
    shutdown[561]
    SHUTDOWN_TIME: 1403102535 812435

Maybe you are looking for

  • Premiere Elements 7: share/export DV-PAL in FLV/QT/WMV, black bars on top/bottom

    During export (step "share", export for "PC" - sorry, if I use some wrong terms, got a german interface) of only DV-PAL video to FLV/QT/WMV there are always black bars on top/bottom of the video and the picture is wrong in aspect ratio. I can't help.

  • Text problem on new ipad

    new ipad, was texting fine from it but suddenly stopped sending them unless i send a picture with it??.

  • How to insert data into Oracle db from MySQL db through PHP?

    Hi, I want to insert my MySQL data into Oracle database through PHP. I can access Mysql database using mysql_conect() & Oracle database using oci_connect() through PHP. Now How can I insert my data which is in MySQL into Oracle table. Both table stru

  • AppleScript Event Handler Error

    While running iChat, I wanted to have notifications show up when some of my buddies log on so I don't have to guess who it was that logged on. I set for an AppleScript to run when buddies are available to Auto Accept.applescript and I get error -1708

  • How do you share/backup photos with iPhoto 8?

    In order to be able to view photos on any of our home computers, as well as for backup purposes, I had a script which whenever activated updated the Picture folders on each computer from the one that imported the pictures. However, after having insta