Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Fixed keyboard navigation in flipped orientations #20

Merged
merged 1 commit into from
Sep 5, 2012

Conversation

cekoski
Copy link

@cekoski cekoski commented Aug 21, 2012

When orientation is HorizontalFlipped, reverse the meaning of a and d
keys. When orientation is VerticalFlipped, reverse the meaning of w
and s keys.

I decided that making the change in the key handling code in
insertText:(NSString_)theText was more intuitive than actually changing
the meaning of left, right, up, and down in the move_ methods.

My original intent with the flipped layout code was to make the change
as noninvasive as possible, this change is in keeping with that goal.

When orientation is HorizontalFlipped, reverse the meaning of a and d
keys.  When orientation is VerticalFlipped, reverse the meaning of w
and s keys.

I decided that  making the change in the key handling code in
insertText:(NSString*)theText was more intuitive than actually changing
the meaning of left, right, up, and down in the move* methods.

My original intent with the flipped layout code was to make the change
as noninvasive as possible, this change is in keeping with that goal.
epreston added a commit that referenced this pull request Sep 5, 2012
Fixed keyboard navigation in flipped orientations. Thanks @cekoski
@epreston epreston merged commit 3e8a407 into epreston:master Sep 5, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants