Sunday, December 27, 2009

Mapping the Joystick Buttons


Here's the diagram of my Logitech Attack-3 joystick.

I have re-mapped the buttons as follows:

There are four buttons on the top of the joystick, and I have made the centre one into a Pause button - it freezes the action.

Buttons 4 and 5 I use to control the rudder, using one to move it incrementally to the left and the other to the right. The rear top button (#2) is used to centre the rudder again. I don't use the rudder very much when flying the small plane as banking the plane gives me most of the turning capacity that I need. However, to make a tight banking turn to get back onto the glide path for a runway I sometimes use the rudder.

Buttons 6 and 7 on the base of the joystick I use to control the flaps. Button 7 will extend the flaps by 20% on each press, and Button 6 will reduce the flap setting by 20% on each press. The effect of the flaps when extended is to give the wing more lift at lower speeds, and flaps also tend to act as air brakes, slowing the plane at the same time. When I am touring  familiar areas at 1000 feet or so I often use full flaps and half throttle to slow the plane right down so that I can just drift along but still climb if necessary.

I use Buttons 8 and 9 on the base to control the brakes when taxiing. Holding the buttons down applies the brakes and releasing the buttons lets them off. They also work independently so you can use them to steer when landing, and at very slow speeds holding down one brake will allow you to spin the plane around - very useful when you want to take off back the way you landed.

I have found that the brakes do not work reliably or well on the fast jet plane, making it very difficult to stop the plane even on the longest runway.

I use Buttons 10 and 11 to control the altitude of the nose, moving it up or down in increments. These buttons are least convenient for me as I am right-handed and accessing the buttons requires my left hand to slide under my right. I tend not to bother much with them anyway.

The X and Y axis are the movement of the joystick column and I have not adjusted the settings for them. As one would expect, pulling back on the stick causes the plane to climb,  pushing forward makes the plane descend, and the side to side movements bank the plane. The throttle works very nicely, and I have not changed those settings either.

The very best part involves the trigger button. I have changed it so it controls the angle of the view. During regular flight the view is out over the front of the plane, as the pilot would normally see. When I pull the trigger in the view changes to looking almost straight down and a bit forward, and the heads-up display disappears. When this happens, it is as if I am an eagle, and I can soar over the terrain looking straight down. My muscle memory works just fine so I can effortlessly fly the plane with the joystick, rising and falling, drifting to left and right. It is especially cool when flying in mountainous terrain as one can just skirt the cliff edges and drop off the edges of mountains. Very, very  cool.

The code for re-mapping the buttons is in the next  post.

17 comments:

  1. Очунь радует учить такое именно у вас!! Спасибо. icemen.ru – Лучшие!! (Здесь у какого-то умельца спамилка умеет вставлять адрес нужного сайта, а слово “бесконечно” с ошибкой написал) [url=http://profvesti.ru/o-monolitnom-stroitelstve/94-monolitnoye-stroitelstvo.html]ремонт новой квартиры[/url]

    ReplyDelete
  2. http://www.webshare.cc/blog/b/blog_view.php?mid=547194&id=149&show_bbslink=
    http://www.benches2swings.com/vocab/catpath/these-days-everyone-owns-mobile-phone-it-has-become-craze-among-people.html
    http://www.webshare.cc/blog/b/blog_view.php?mid=547194&id=146&show_bbslink=
    http://heraldbulletin.neighborsink.com/node/247694
    http://archive.remdublin.com/blog/xmyshang/2013/01/27/jatimberlandsale
    http://americanboll.com/blogs/viewstory/721778
    http://www.toma.jp/blog/333333/?entry_id=870629
    http://www.benches2swings.com/vocab/catpath/mobile-phones-double-digital-cameras-are-not-uncommon-any-more.html
    http://oriflameblog.cz/forum/topic/the-pay-as-you-go-is-the-most-convenient-and-straightforward-modes-which-comes?replies=1#post-38926
    http://www.altasbaixarias.baumgarten.cnt.br/jcow/blogs/viewstory/87668
    http://developinglinks.com/index.php?do=/blog/133975/having-too-many-spyware-removers-or-running-on-your-system-actually-could-b/
    http://hollar.se/index.php?do=/blog/2358/spyware-will-not-make-itself-noticeable-until-it-is-to-late-and-then-you-ha/
    http://d.hatena.ne.jp/rrrtt/#edit_in_place
    http://www.toma.jp/blog/jiumengshici/?entry_id=877981
    http://www.soberhood.org/node/125734

    ReplyDelete
  3. Thanks for any other fantastic post. The place else could anyone get that type of info in such a perfect approach of writing?
    I have a presentation next week, and I'm on the look for such info.

    Here is my page; http://leanmuscleformulablog.com

    ReplyDelete
  4. It's an amazing article designed for all the online viewers; they will obtain benefit from it I am sure.

    my blog - garciniacambogia

    ReplyDelete
  5. you're in reality a just right webmaster. The site loading speed is incredible. It kind of feels that you are doing any unique trick. Furthermore, The contents are masterpiece. you have performed a excellent activity on this topic!

    My blog :: Natural Cleanse Reviews

    ReplyDelete
  6. Hi there! I could have sworn I've been to this website before but after reading through some of the post I realized it's new to me.
    Anyhow, I'm definitely delighted I found it and I'll be bookmarking
    and checking back frequently!

    Check out my weblog - Where to buy lean muscle formula

    ReplyDelete
  7. Do you mind if I quote a couple of your posts as long as I provide
    credit and sources back to your webpage? My blog site is in
    the exact same area of interest as yours and my users would
    truly benefit from a lot of the information you provide here.
    Please let me know if this alright with you.
    Regards!

    Here is my blog post - Green coffee review

    ReplyDelete
  8. Howdy! Do you use Twitter? I'd like to follow you if that would be okay. I'm
    undoubtedly enjoying your blog and look forward to new updates.


    Also visit my homepage Androsolve

    ReplyDelete
  9. Article writing is also a excitement, if you be familiar with then you can write if not it is complicated
    to write.

    Also visit my webpage :: Weight loss formula

    ReplyDelete
  10. Excellent post. Keep writing such kind of information on your blog.
    Im really impressed by your site.
    Hello there, You've done an incredible job. I'll certainly digg it and in my
    opinion recommend to my friends. I am sure they will be benefited from this site.


    Here is my webpage - Work form home

    ReplyDelete
  11. I have been surfing online more than 3 hours today, yet I never
    found any interesting article like yours. It's pretty worth enough for me. In my view, if all site owners and bloggers made good content as you did, the internet will be a lot more useful than ever before.

    Have a look at my website :: way to make money online

    ReplyDelete
  12. I am genuinely delighted to glance at this webpage posts which consists of lots of valuable
    facts, thanks for providing these kinds of information.


    Take a look at my page; 5HTP

    ReplyDelete
  13. you are truly a excellent webmaster. The web site loading velocity is incredible.
    It kind of feels that you are doing any distinctive trick.

    Furthermore, The contents are masterpiece. you've done a magnificent task in this topic!

    Here is my site 100 Day Loan

    ReplyDelete
  14. Thank you for the auspicious writeup. It in reality was a amusement account it.
    Glance advanced to far introduced agreeable from you!
    However, how can we communicate?

    sex drive

    ReplyDelete
  15. learn more tramadol iv - tramadol dosage puppies

    ReplyDelete
  16. [url=http://www.skladchina.biz/threads/centr-masterov-xml-i-javascript.1340/]Запись - [Центр Мастеров] XML и JavaScript[/url]

    Наверняка, все опытные пользователи сети Интернет знают о наличии уникального и полезного - книги, тренинги, программы, уроки. Все это, на первый взгляд, находится во всеобщем доступе. Но если присмотреться, то становится ясно, что хорошие обучающие курсы и тренинги - явление платное и стоит подобное удовольствие недешево.

    [url=http://www.skladchina.biz/threads/google-adsense-zarabotok-na-adsense-ot-a-do-ja.810/]Google Adsense. Заработок на Adsense от А до Я[/url]

    Skladchina.biz - это уникальный форум, где можно в компании с остальными участниками выгодно приобрести видеоуроки, аудиокурсы, тренинги, софт, книги и другие товары. На нашем ресурсе их цена будет в десятки, сотни раз дешевле их обычной цены.

    [url=http://www.skladchina.biz/threads/garantirovannaja-pribyl-na-bk.586/]Запись - Гарантированная прибыль на БК[/url]

    Всё это осуществимо благодаря покупке в складчину. Вобщем, мы собираем компанию людей, объединенных одной целью – приобрести оригинальные, качественные обучающие материалы гораздо дешевле их настоящей стоимости. Здесь вашими единомышленниками станут незнакомые до этого люди, объединит вас всех желание быть полноправным обладателем того или иного контента. Все гениальное оказалось совсем несложным - вы регистрируетесь на ресурсе, выбираете понравившуюся складчину или создаёте свою. Нажимаете на вкладку "Записаться" и вот вы уже в компании участников совместной покупки. Осталось лишь дождаться от организатора покупки\приобретения реквизиты, оплатить средства и получить покупку. Вот и все, что вам нужно сделать для реализации вашей мечты.

    [url=http://www.skladchina.biz/threads/kombain-spam-shely-ifrejm-parsing-pbs-parsobrutospamer.1663/]Запись - Комбаин. СПАМ, шелы, ифрейм, парсинг. PBS Парсобрутоспамер[/url]

    Кроме того, наш ресурс - это еще и большое количество мегабайт ценной, уникальной и увлекательной информации. На форуме масса уроков по бизнесу, созданию сайтов, программированию, активному отдыху и многому другому. У нас каждый найдёт хороших собеседников и уж точно надолго останется в одном из уголков нашего форума. Процедура регистрации проста и не отнимет более двух минут, после этого вы будете иметь доступ к любым складчинам и уже спустя минимально короткое время станете владельцем множества обучающих материалов за совершенно смешные средства!

    ReplyDelete