Author Topic: Titchy Keymap  (Read 1744 times)

renick

  • Newbie
  • *
  • Posts: 11
    • View Profile
Titchy Keymap
« on: December 10, 2007, 08:50:19 am »
I am trying to figure how to fix the titchy keymap. Titchy is wonderful in many ways, but I need to be able to right click with the mouse by holding the Fn key. I also want to map Fn+(1-0) to F1-F10. Also, the @ symbol above the - doesn't work with Fn. I can't figure out where the textfile to edit those is. I thought it was in /etc/console/boottime.kmap.gz, but comparing what is written in there and the output of xev makes me think that boottime.kmap.gz isn't where the current keymap is. xev gives way different keycodes. Can someone sort me out? What do I need to be editing?

Renick

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Titchy Keymap
« Reply #1 on: December 17, 2007, 06:10:31 pm »
Heh... when people will end reinventing wheel...

Ångström has working keymap for all Zaurus models.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

renick

  • Newbie
  • *
  • Posts: 11
    • View Profile
Titchy Keymap
« Reply #2 on: December 17, 2007, 07:27:08 pm »
Quote from: Hrw
Heh... when people will end reinventing wheel...

Ångström has working keymap for all Zaurus models.

So, maybe I should just grab the Angstrom keymap. How does it handle the F keys?

I should own up, though; this partly is my own ignorance. The "@" is mapped to shift+-, not Fn+-. It looks like I can use xmodmap to map F1-F10. I still haven't figured out right-click or center-click, though, and as reported in another thread, the mouse is jumping around. It's incapability to draw a straight line is almost completely incapacitating Kanjipad (not to mention mtpaint).

Otherwise I am happier with Titchy than I have been with any other distro.

scottlfa

  • Sr. Member
  • ****
  • Posts: 281
    • View Profile
    • http://
Titchy Keymap
« Reply #3 on: December 17, 2007, 08:55:18 pm »
EABI Does this through useing xbindkeys, perhaps this is the same on Tichy.  Take a look and see if it helps.

.xbindkeyrc (in root)
Code: [Select]
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
#   Control, Shift, Mod1 (Alt), Mod2 (NumLock),
#   Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# m:xxx + c:xxx
# Shift+...

#keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable

#BrDown
"/usr/bin/display-brightness.sh down"
    m:0x10 + c:12
    Mod4 + 3

#BrUp
"/usr/bin/display-brightness.sh up"
    m:0x10 + c:13
    Mod4 + 4

#Left Click
"xmodmap -e "pointer = 1 2 3""
    m:0x0 + c:67
    XF86LaunchA

#Middle Click
"xmodmap -e "pointer = 2 3 1""
    m:0x0 + c:68
    XF86LaunchB

#Right click
"xmodmap -e "pointer = 3 1 2""
    m:0x0 + c:76
    XF86LaunchC

#Backlight On
"bl on"
    m:0x10 + c:14
    Mod4 + 5

#Backlight Off
"bl off"
    m:0x10 + c:15
    Mod4 + 6

#
# End of xbindkeys configuration

You press the calendar button and it puts the tap into left mode, pressing address puts it in middle click mode and mail puts it in right click mode.  Once a mode is selected, remember to press one of the other modes to change the way the tap works.  When you press the button it puts the tap done by the stylus in that mode till a new mode is selected, which you do by pressing an alternative button.  Calendar - left click, Address - middle click and Mail - right click.  Its not too bad once you get used too it.
"So there I was, spitting on my goldfish trying to keep it alive ..."
---------------------------------------------------------------< O >-------------------------------------------------------
Viliv N5 [Debian]
Acer One Running OSX 10.5.7 [Dell 3190 & Ram Upgraded]
SL-C1000 [ZUbuntu], JasJar [WM 6.5], Nokia N900, and Samsung Galaxy S 4G.
Sony Ux280P [Kbuntu 10.4 Lucid], PsP Go and DSi