Trying to remap joystick
i have a logitech F310 gamepad drivers work fine all out of the box.
however i do play some games in wine and one in particular doesnt allow me to set the right toggle axes (3,5) to axes (2,4)
i tried the joystick wiki, tried joystick out of aur, tried joyutils.
joystick on the aur does allow me to remap but when i go into the game no changes, also no changes when i use pcsxr
not sure if i can change them in /etc/X11/xorg.conf/ anyone know how to do this? (not sure if this would apply in wine games)
or have found a way to remap joysticks?
dont mind reading on my own just not finding much luck
had found uri: https://bbs.archlinux.org/viewtopic.php?id=153875 but didnt as well
Last edited by VanillaFunk (2013-11-07 14:24:47)
I cannot give a definitive answer, but you may want to install joyutils from the AUR and play around with jstest and jscal.
Also, read the kernel documentation on the joystick. In my system it is at /usr/src/linux-3.11.6-1-ARCH/Documentation/input/joystick.txt. It includes a section on how to build a calibration table.
Similar Messages
-
[SOLVED] Trying to remap keys in X/GDM/Gnome 3
Hi,
I'm trying to remap my ESC key to the Caps Lock key for more convenience in Vim. I placed the following in ~/.xinitrc and ~/.xprofile:
xmodmap ~/.keymap
I tried both files because I read in the wiki that ~/.xprofile could also be used for this purpose.
The ~/.keymap file looks like this:
! Swap caps lock and escape
remove Lock = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
If I execute 'xmodmap ~/.keymap' in bash everything works fine. But when I (re-)start the setting is not read. I'm not quite sure if I place the command in the wrong file or if there is a problem with the commands.
I use GDM for login into Gnome 3 activated via systemctl.
Many thanks in advance!
Last edited by pizzapill (2013-12-02 18:22:46)That specific change to the keymap is supported by the XkbOptions. So there is no need to actually use xmodmap here.
Have a look here. It tells how to get Gnome to respect the XkbOptions using dconf, and interestingly, the specific example is exactly what you are looking for (caps:swapescape).
For more available options, you can check out /usr/share/X11/xkb/rules/base.lst.
Edit: BTW, I know nothing about Gnome, so maybe there is a more Gnome-ish way to handle this. But I also think that if you ever think about using something besides Gnome it would be a good idea to have this as a global setting (ie. /etc/X11/xorg.conf.d/10-evdev.conf).
Last edited by WonderWoofy (2013-11-30 21:56:50) -
[SOLVED] Remap joystick/pad buttons
Hi
Is there a way to rema my pad buttons? I own a logitech pad, and when running some games through wine, since most of today games are xbox ports, my buttons are messed. I mean, xbox has the following layout:
x y
a b
my pad
1 4
2 3
and -at least through wine- , the buttons position doesn't match.
x -> 3
b -> 2
a -> 1
y -> 4
so I end up using a pad with the following xbox buttons:
a y
b x
wich kinda mess the gameplay on most games.
Any known way to remap?
Sorry for my english, i'm not fully awake yet
Last edited by mzneverdies (2012-11-30 23:11:36)Ok, solved
used aur/jstest-gtk-git to remap my joystick/pad buttons -
I am having ongoing issues with trying to sync contacts, memos calendar etc using the latest version of DM 6. I have uninstalled and reinstalled the DM software. I have tried to "remap" the fields as noted in the error messages only to get other error messages including: "intellisync one or more configured folders is not available"
I have on many occasions tried to reset the organizer in DM6, checking the box for calendar, address book etc only to go through the process of selecting MS Office and to complete the set up and then the check box is "unchecked" automatically. ( I must be doing something wrong)
I have reviewed different KB fixes without any success - I may be able to re-sync after doing a suggested change but it will only work once they I am back to the same problem of not being able to sync my calendar etc.
I have changed the WIN7 administrator levels as suggested.
I am running Win 7 and MS Office Professional 2010 (64 Bit) which the latest version of DM 6 is supposed to work with.
Any suggestions on how to get my organizer to stat syncing again?yes try click "sync"at bottom right
-
Remapping for App's shortcut's doesn't work
Hello
OS X 10.10.3 Yosemite.
I'm trying to remap default hotkeys of "Mac Viewer" App, but it doesn't work.
I followed theese steps:
OS X Yosemite: Create keyboard shortcuts for apps
OS X Yosemite: If a keyboard shortcut doesn’t work
I want to change this default App's shortcut:
To this:
After I perform this step and reload the App it still uses original shortcuts. No other apps are using CTRL+OPTION+1 shortcut.
What is wrong with that?
AlexanderFrom 1 to 6 they are:
Content Only
Thumbnails
Table of Contents
Highlights and Notes
Bookmarks
Contact Sheet -
I'm simply trying to remap the tab key to input spaces, but aren't having much luck- any pointers would be appreciated:
public class MyTextPane
extends JTextPane{
public MyTextPane() {
super();
InputMap im = this.getInputMap();
ActionMap am = this.getActionMap();
// Have the tab key work the same as the space key
KeyStroke tab = KeyStroke.getKeyStroke("TAB");
KeyStroke space = KeyStroke.getKeyStroke("SPACE");
im.put(tab, im.get(space));
am.put(im.get(space), am.get(space));
}I've also tried overriding the processKeyBinding method, but I get two spaces for every one I want:
public boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed) {
if (ks == KeyStroke.getKeyStroke(KeyEvent.VK_TAB,0)) {// TAB
ks = KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0);
MyStyledDoc doc = (MyStyledDoc) this.getDocument();
int pos = this.getCaretPosition();
try{
doc.insertString(pos, " ", null);
}catch(BadLocationException ble){}
return super.processKeyBinding(ks,e,condition,pressed);
}I'm simply trying to remap the tab key to input
spaces, but aren't having much luck- any pointers
would be appreciated:There is no entry in the ActionMap associated with the SPACE key, so your code does nothing but remove the action associated with TAB.
Here's some code that inserts a single SPACE when TAB is pressed:
KeyStroke tabStroke = KeyStroke.getKeyStroke(KeyEvent.VK_TAB,0);
Action spaceAction = new AbstractAction() {
public void actionPerformed(ActionEvent ae) {
try {
textPane.getDocument().insertString(textPane.getCaretPosition(), " ", null);
} catch (BadLocationException ble) {
System.out.println("This error shoul be impossible");
ble.printStackTrace();
textPane.getInputMap().put(tabStroke, spaceAction); -
Remapping of PageDown and PageUp keys
I've tried to remap PageDown and PageUp keys with Oracle
Terminal (OT60) but i've get this error:
Resource Name: windows-sqlforms Type: bindings.
Error while parsing the binding string
"PAGEDOWN"
of an entry in component "normal".
Failed to parse token "PAGEDOWN".
Can anybody help me?
Thank
Marco
nullMarco Nicolazzo (guest) wrote:
: I've tried to remap PageDown and PageUp keys with Oracle
: Terminal (OT60) but i've get this error:
: Resource Name: windows-sqlforms Type: bindings.
: Error while parsing the binding string
: "PAGEDOWN"
: of an entry in component "normal".
: Failed to parse token "PAGEDOWN".
: Can anybody help me?
: Thank
: Marco
Try to use "PgDown" and "PgUp".
null -
[SOLVED] CR48 - remap caps lock key to super key
I just got Arch installed on my CR48. The CR48 doesn't have a super key so I was trying to remap the "Caps Lock" key. I've discovered in this post that the "Caps Lock" key is actually "xk_superl". However, the following commands don't work.
xmodmap -e "keysym xk_superl = Super_L Super_R
xmodmap -e "keysym Mod4 = Super_L Super_R
Both of these commands result in an error:
bad keysym target key symbol 'xk_superl'
bad keysym target key symbol 'Mod4'
Am I missing something?
Last edited by jrom (2013-04-15 17:49:37)vordoo wrote:
See Keyboard switches for XKB setxkbmap: https://gist.github.com/Spoygg/3122226
This in .xinitrc will make the Caps_Lock_key just another Ctrl_key:
setxkbmap -option ctrl:nocaps
If you need the exact keycode use, xev to get it.
Ah ok. I was able to determine the key code of my "caps lock" key using xev. Turns out it was 133. I am now able to use that as the super key. Thanks! -
Can't remap scancodes using setkeycodes or udev/hwdb.d
Hi, I'm trying to remap the scancode 3a to keycode 1 on a PS/2 keyboard.
I've tried using
> setkeycodes 3a 1
KDSETKEYCODE: Invalid argument
failed to set scancode 3a to keycode 1
and
> vim /etc/udev/hwdb.d/90-custom.hwdb
keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*
KEYBOARD_KEY_3a=esc
(and reboot). They fail because the scancode is already mapped, seemingly.
xmodmap and loadkeys do not remap scancodes, only keycodes. Several of my desktop apps do not respond to remapped keycodes, thus these are not solutions.
Last edited by mojangsta (2014-02-22 20:09:54)For USB keyboard, you need to get the scancodes from evtest rather than showkey. You may find a solution from:
https://ask.fedoraproject.org/en/questi … -keycodes/
Last edited by Kiwon Um (2014-08-23 06:32:47) -
[SOLVED] Need Help Remapping Caps Lock to Control
So I've spent the better part of an hour trying to remap my caps lock key to control. I've added a udev policy "10-keymap.fdi" in /etc/hal/fdi/policy.
<?xml version="1.0" encoding="ISO 8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.options" type="string">ctrl:nocaps</merge>
</match>
</device>
</deviceinfo>
I restarted hal and it seems to acknowledge my new rule. lshal | grep xkb yields:
brian@brian-laptop:~$ lshal | grep xkb
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.options = 'ctrl:nocaps' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.options = 'ctrl:nocaps' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.options = 'ctrl:nocaps' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.options = 'ctrl:nocaps' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
But when I hit the caps lock key, it still gives me caps lock, not control. xev unsurprisingly tells me the keysym I'm pressing is indeed caps lock. I know I could do this by using xmodmap but I'd like to keep my .xinitrc clean/would just like to know why this isn't working.
Last edited by iamsmrt (2010-08-02 13:53:59)Anntoin wrote:
Its worth trying adding this to your xorg.conf:
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "gb"
Option "XkbOptions" "ctrl:nocaps"
EndSection
I was having this problem for a while and this worked for me. Your mileage may vary.
This worked, thanks!
nixpunk wrote:
iamsmrt wrote:I know I could do this by using xmodmap but I'd like to keep my .xinitrc clean/would just like to know why this isn't working.
I use xmodmap and it's quite easy to setup. Just curious, but why exactly do you want to keep your ".xinitrc clean"?
My OCD more than anything -
IPod 1st Gen Not Recognised or Connecting to anything.
The story so far...
I have a 1st Generation iPod Shuffle 512Mb which was bought 2 years ago in an Apple store in Japan. It has been treated well over the years and is used once or twice a week. There have been no issues with it until my current issue this week.
I decided to give my iPod to a relative and over the weekend plugged in the iPod to the PC (Windows XP - Latest Version) that was to receive the player. The shuffle was recognised and I was challenged by iTunes (Latest Version) that the player was associated with another installation of iTunes. Did I want to transfer to this version of iTunes or did I want to ignore the iPod. I chose to transfer and this is where things came off the rails! The iTunes application closed down in an uncontrolled manner and after a reboot of the machine was in capable of recognising the shuffle.
I have followed the 5 R's to the letter.
I have tried to restore from iTunes on Windows XP
I have tried to restore from iTunes on Mac OS
I have downloaded and run the Reset Utilities provided on the Apple website.
I have reset from Windows XP (on two different machines)
I have reset from Windows XP (having uninstalled iTunes)
I have reset from Mac OS 10.4.9 - iBook G4
I have reset from Mac OS 10.4.9 - Powerbook G4
The utilities see the shuffle and recognise that it is in Restore mode. However the reset fails with a Error Retrieving Information from your iPod message.
I have read the discussion threads where the advice is to format the iPod however in my case the although I get a mapped drive with a letter (e.g. E:) when I try to access it I get a pop up window asking me to insert a disk..
I am currently reseting from Windows 2K on a machine that has never had iTunes installed onto it. It has recognised the device.. and is attempting to install the drivers... but I have a sneaking suspicion that it has stalled midway through-- I decided to let the install process keep running while I'm at work just to make sure that it just isn't taking it's own time.
Has anyone---
1. Got the same issue?
2. Got any resolutions that don't involve going to the Apple store and buying a new one?
(Sorry for the length of the posting but I have done quite a lot of stuff and I need to give you the whole picture).There is no conflict either. On one of the machines there were no other installed devices.. and on all other machines the interaction with USB seems fine on both Mac and Windows platforms.
I have even followed the instructions to re-register the iTunes .dll files with the apple provided bat file. All to no avail.
What is interesting is that the device is not identified during the restore process with the name that appears on the apple website but instead it is identified as a recovery device player class device.
I tried the remapping of the driver letter. Bascially the change of letter works fine but there is no storage associated with the letter. So the device is mounted but there is no capacity. -
Cannot read content from ipod...
my 30gb ipod was playing on my girlfriends laptop, then she brought the laptop into the kitchen to play and when i looked up, there was music or videos. But there was my photos on the ipod. My ipod is on manually manage and it says that my ipod has the regular amount of space left that it had before so I dont' think the music and videos are gone but if I restore it then I can't keep my stuff. Sorely confused. Tried to remap the drive through the disk management..itunes recognizes that the name of my ipod cant be read but then it tells me to restore.
Have you had a chance to look at this troubleshooting page? It may be of some help: "Disk cannot be read from or written to" when syncing iPod
-
Upgraded to Yosemite, can no longer mount Mac shared folder on Windows 7 pc.
At the weekend I upgraded to Yosemite, and really liked the new look.
There is a folder on my mac which is shared over SMB so that it can be mounted as a network drive on a Windows 7 system. This has worked just fine for years, but then after the upgrade I found that I was no longer able to connect to the share. When I tried to remap the share it just kept asking me for password over and over again and failing to connect.
Windows could see the Mac was there in its workgroup, but not let me access it.
I tried on a Linux system, which could also see the Mac, but not mount the share.
After spending hours trying to figure this out, I wound up restoring my system from a backup made the day before.
Once I'd rolled back to Mavericks, the share worked just fine again.
Any ideas? Because if I can't map to this shared area on my Mac, then I can't upgrade to Yosemite.At the weekend I upgraded to Yosemite, and really liked the new look.
I cannot Scan to Folder in my imac sharing Folder.
There is a folder on my mac which is shared over SMB so that it can be mounted as a network drive on Print DocuCentre -IV 3370 This has worked just fine for years, but then after the upgrade I found that I was no longer able to connect to the share. When I tried to remap the share it just kept asking me for password over and over again and failing to connect.
Any ideas? Because if I can't map to this shared area on my Mac, then I can't upgrade to Yosemite.
Thanks
Gierin -
External USB HD doesn't show up on the desktop
I have an iMac G5 with 10.4.10 installed on it
Last week after the update to 10.4.10 my LaCie usb conected hard drive still showed up on my desktop but after a second restart it disapeared and never came back.
If I connect my external HD with a windows computer (with macdrive software) I can see and open my files. (I concluded that my drive still works propperly)
If I connect my drive nothing shows up on my desktop but, there is a change in my /volumes map (I have an map action connected to an automator script if some thing changes overthere). When I connect my HD I can see an automator action is going on ...
And if I put the power of from my usb drive I get an warning that a drive was unmounted "unpropperly" (the warning when you plug a usb out without draging it to the trash).
I have al ready tried :
*Putting my mac on and of again, didn't work
*Putting my HD on and of agian, didn't work
*Opened disk utility and checked my external drive, disk utility can see my external drive but it showed no errors when checking.
*checked my Finder preferences, removeble media should show up on my desktop
*Opening usb prober; overthere I can see that my external HD is connected, but my HD would show up magicly on the desktop like some other lucky people on the internet.
*Rebuilding my directory with diskwarrior, didn't work (diskwarrior did saw my drive and said it did show up on my desktop
*Restoring IOUSB...keys from the combo 10.4.9 updater, didn't work
*Reinstaling 10.4.0, my drive didn't show up either, updated everything back to 10.4.10, won't show up.
Does anyone have an idea what I can do to get my drive up and runing again on my iMac?
BTW; English is not my native language, I'm sorry for the inconvenience.
iMac G5 Mac OS X (10.4.10) 1 GB RAMHello, I'm having the exact same problem as Cheburashka, actually it started happening almost as the same time (jul 23). I just switched from being a PC user to a Mac user, so I don't know much about OSX yet. Cheburashka mentioned he made an update, I also made a sofware update, maybe it has something to do? Also my desktop stopped showing my external usb HD
and any other USB flash memory I plug into any usb hubs. but when I tried them on a pc, they worked perfectly, so I also discarded a possible error on my usb device, I tried my usb joystick and the keyboard on my G5's usb hubs and they work perfectly so is not a hardware problem either. I'm about to try that invisible-hd fix right now but I'm a little worried cause I've never used it, seems like a big deal, anyway I'll keep up with any progress you guys make, thanx. -
After the Windows 2008 R2 64 bit server got below 2 updates a network share is no longer available. And trying to remap it with correct credentials (that work on a Windows 8.1 64 bit) gives this error: "System error 86 has occurred. The specified network
password is not correct."
Local Policies -> Security Options -> Network Security: LAN Manager Authentication Level
is already set to "LM and NTLM - use NTLMV2 session security if negotiated"
In fact this is how it was working earlier. And it hasn't been changed.
Below 2 updates were installed in past few days:
Definition Update for Microsoft Endpoint Protection - KB2461484 (Definition 1.185.3528.0)
Update for Windows (KB974405)Hi,
Does the network share a DFS share? If so, please install the hotfix below to check the results.
You cannot access a DFS share by using a valid user account in Windows Server 2008 R2, in Windows 7, in Windows Vista or in Windows Server 2008
http://support.microsoft.com/kb/2549311
Best Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Maybe you are looking for
-
Format External Drive - From Mac for Windows
I have a Maxtor One-touch that I need to back up a bunch of data for a Windows XP user. After some research, I thought that formatting the drive in the MS-DOS (FAT) format would do it, however, after doing so and moving all of the data, I have tried
-
The email account name contains special characters
im trying to create a apple id without payment method for my cousin. his email does not contains any special character and it's a valid email...my problem is that "the email account name contains special characters" message is always showing..any hel
-
How to create a view to perform the following
I have a table as below: Name Date Amount A 01.09.2011 100 B 01.08.2011 200 C 04.05.2011 300 I need to write a view in SQL to get the following: Name Upto 30days Upto 30-60days Upto 60-90days A 100 B 200 C 300 Ed
-
Hi, i am devloping a form. in that form i have two text filed for entering dates which is From Date filed and To Date filed. I have to write a java script to check wether the From date is greater than To Date then prompt the user that the date is not
-
How to open oracle listner for three database instances
please help me with following questions I have 3 database instances orcl JIP02T JIP04T when i start the oracle database, does it start all 3 instances? when i start the oracle listner, does it start listner for all 3 instances? when i echo $ORACLE_SI